Jump to content

rambutan

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by rambutan

  1. I just installed Fedora9, ran Grub> Setup (hd0) (hd0,5) and added Fedora9 to my menu.lst. You guessed it. Grub Error 2. Mandriva had already taken me down that road so I just used the "cp -a" trick and and and oh no !! Fedora defaults to SELinux enabled. After "cp -a" even with the correct password Fedora refused to let me log in. Booting "single" and changing the root and user password, still Fedora refused to let me log in. So I reinstalled Fedora9. This time I was careful to put the boot loader on /dev/sdb9 and NOT the MBR of the first drive. Doing this then the chainloader worked. To test some more I disabled SELinux and tried the cp -a trick. Then it worked. I do like the chainloader approach better. If you update the kernel it updates the second grub and keeps itself current without manual edit to the master menu.lst. In the second menu.lst I commented out the splash image, hiddenmenu, and set timeout to 0. But here is the ongoing concern. By reinstalling and choosing to install grub to the root partition and not the MBR then chain linking works. I tried every way I could think of to get the Mandriva rescue/install CD to fix the Mandriva partition by reinstalling grub to Mandriva' s root partition but could not. So I never got chain linking to work on the existing Mandriva partition. JackNL, krisbee2000, others... Has anyone installed GRUB to MBR as is the default and then run grub setup to an old menu.lst (for example Ubuntu) and been able to use chainlinking? Without reinstalling? If so how?
  2. Two more tests I wanted to try: Copy the problem partition somewhere then copy it back on top of itself and see if it's cured. It was. Install another Linux Distro and a fresh Grub. See if Mandriva is still OK. It was. My suggestion for others who hit this problem: #A# – if you just installed Mandriva but haven't really done anything with it copy the whole partition to a folder where there is space then copy it back in. Edit /etc/fstab to use /dev/sdaX not UUID and it boots (use “cp -a†not nautilus). #A# - Simply copy, clear and copy back in (I'm using Ubuntu 7.04) $ sudo mount /dev/sdaX /Mandriva --- mount the Mandriva partition $ df --- check sizes and available space $ sudo mkdir /partitionwithspace/Mandriva --- make a new directory to hold all the Mandriva partition (3 GB?). $ sudo cp -a /Mandriva/* /partitionwithspace/Mandriva/ gparted --- unmount and format the Mandriva partition (effectively erases what's there, changes UUID) $ sudo mount /dev/sdaX /Mandriva --- mount the Mandriva partition again. $ sudo cp -a /partitionwithspace/Mandriva/* /Mandriva/ --- puts Mandriva back where you got it $ sudo gedit /Mandriva/etc/fstab --- change “/†from UUID to /dev/sdaX Mandriva is now bootable. No more Error 2. Prove to yourself that it's now OK then use Nautilus to delete the temporary copy. Be sure you delete it not just move it to trash or it will not free up the 3 GB. #B# - If you have lots of time invested in your Mandriva setup and are very adverse to risk, then copy (“cp -aâ€) the Mandriva partition to a new partition, edit the new /etc/fstab to have root use the new partition and it boots. #B# - More complex but safer because the original remains unchanged. Copy to new partition and use that: $ sudo mount /dev/sdaX /Mandriva --- mount the Mandriva partition $ df --- check sizes and available space gparted --- make a new partition for Mandriva $ sudo mkdir /NewMandriva $ sudo mount /dev/sdaY /NewMandriva $ sudo cp -a /Mandriva/* /NewMandriva/ $ sudo gedit /NewMandriva/etc/fstab --- edit the line that says where “/†is, use /dev/sdaY $ sudo gedit /boot/grub/menu.lst --- add a new stanza for the new partition with Mandriva (copy old Mandriva stanza but change the partition number as needed) Mandriva is now bootable. No more Error 2. I encourage users to read all the posts. Maybe someone else has a way that suits you better.
  3. Thanks adamw, DistroWatch has new comments each week. The one adamw is referring to is http://distrowatch.com/weekly.php?issue=20080414&mode=67 Comments 26 - 34 - 68 - 74 are discussing this problem. More may follow. The idea of #34 is use chainloader like for the Windows partition. title Mandriva root (hd0,x) chainloader +1 I tried this and it did not work for me. I'll test some more, maybe I hit the wrong partition. Sidux seems to be in the same boat. Other posts talk of reinstalling grub by booting the Sidux LiveCD and using grub-install. Another bug report is given: https://qa.mandriva.com/show_bug.cgi?id=37897 This talked of some chroot and ./install to repair the damage. My current theory (theory since I don't know enough to be sure): the problem relates to inode size (whatever that is). New = 256 old=128 My guess: "cp -a" uses inode size of 128 in the copy so the copy is fine with legacy grub. Since the original is still 256 a new grub doesn't rescue the orignal installation. Thus "cp -a" becomes the filter that saves the original installation at the cost of a few minutes and a fresh partition.
  4. Hi adamw, I deleted my bookmarks for DistroWatch last year and haven't been back until now. I found their hit parade a manipulated joke and their comments mostly juvenile. But I put on my boots and waded in. Searching through the comments for Mandriva I could not find an answer to this problem. I was glad I had my barn boots on, things haven't changed. Which week number and comment number were you referring to? I could not locate anything useful. On with more tests... On a second PC I got the same results. cp -a /Mandriva.old/* /Mandriva.new/ copy in grub from old "grub-legacy" to /Mandriva.new/boot/ Mandriva.new boots from grub-legacy, all seems fine. But just like the first test when I copy in a new grub to /Mandriva.old it still crashes with Error 2. Replacing the grub folder is not enough it must also be copied (cp -a) to a new partition. Oh well. At least now I have Grub back under control and have Mandriva booting on both the PCs. I can still play with new Distros without getting locked out of Mandriva. If Grub-2 somehow proves superior for desktops then other Distros will follow. I just hope they do a better job of compatibility with Grub-legacy.
  5. I had some success but I cannot get repeatability. I played with /Mandriva/boot/grub some. The problem is that GNU/Grub has created a new GRUB, Grub2 leaving the old world as Grub legacy. In the Grub 2 world there is no stage 1.5. In Grub legacy setup checks for stage 1.5 --- cannot find it and give an error message. When you try to boot from Grub legacy into Grub2 you get Error 2 which I think relates to stage 1.5 but I'm not sure. After playing with /Mandriva/boot/grub of course I could not boot it any more. So I ran grub>setup and I'm back in grub-legacy. But the partition and files are still there. For a safe sand-box I cloned Mandriva partition to an empty partition. I booted to Ubuntu and used $ sudo cp -a /Mandriva.original/* /Mandriva.new/ Then in /Mandriva.new/boot I renamed the grub folder to Mandriva.grub. Then I copied in the grub folder from /Ubuntu/boot/ I edited menu.lst and /Mandriva.new/etc/fstab and Mandriva booted up. Cool. But here is the issue I'm still working on. I tried to edit /Mandriva.original to do the same thing but I cannot get it past Grub Error 2! Why won't this work twice? I'll install Mandriva on my other PC and test this some more.
  6. Hi viking777 Thanks for the suggestion. I did try it - same results. I searched some more and found http://www.gnu.org/software/grub/manual/grub.html setup [--force-lba] [--stage2=os_stage2_file] [--prefix=dir] install_device [image_device] So [image_device] is an option. I did reinstall Mandriva and play with it some more. As long as I let Mandriva own GRUB I'm safe. Now I'm researching/testing: second install of Madriva to rescue first install after being locked out (30 mintues +) dd to make copies of MBR --- may allow simple dd to restore MBR (5 minutes) GRUB 2 vs GRUB legacy and use of setup tools - maybe GRUB has a fix. On a positive note the most important task I was testing Mandriva for is Skype. I have an old Gateway where Skype works fine with Ubuntu and SuSE. I have a new Dell where Skype is a major challenge for Ubuntu, works better in SuSE. In Mandriva on the Dell I got the best resolution+stability yet so Mandriva is a keeper. Which means I have to find my best work-around to this Grub issue Mandriva has caused.
  7. Skype works here. I have two PC's here that I am testing Skype via the internet from one PC to the other. Using two different Skype accounts of course. From Mandriva 2008.1 to Ubuntu 8.04 alpha 6 I get 320x240 images, both say they are sending at 10 FPS and both say they are receiving the other at 5 FPS. That's not bad for a US DSL line with the double load of sending and receiving for two connections rather than just one. Both cameras are Logitech Pro9000. Both PCs are out-of-the-box installs, nothing special to get it to work.
  8. AussieJohn is right. There are ways to get around the problem. In his case he let the new Grub control things, all is well. But what would happen if he installed Mandriva 2007 to a fresh partition on his hard drive, letting it install Grub (standard install)? He would find he can no longer get to Mandriva 2008. Even the LiveCD will not fix the problem. More likely though a Mandriva 2008 user will try Ubuntu on a new partition then get blind sided with the Mandriva cannot be reached problem. What to do? what to do? Mandriva's LiveCD cannot get Mandriva back. OK so set aside another partition and do a fresh install of Mandriva there. Once that install of Mandriva is complete then you can point back to the original Mandriva and recover your lost work. I disagree with Mandriva locking their users in on the bleeding edge of a new standard. AussieJohn is right that the Mandriva user is safe as long as he/she remains locked-in to Mandriva. Look at Ubuntu 8.04 with Firefox 3. Firefox 3 implements a new standard for bookmarks, no longer bookmarks.html but rather a sqlite database file. No compatability for Firefox 2 and Firefox 3 for bookmarks. With Linux I use simple links so my Firefox bookmarks file is the same file for Ubuntu, Fedora, SuSE, Debian ... Now with the new standard I will not use Ubuntu 8.04 for Firefox until my other main distros are all on board with it. Another new standard causing transition problems. I wish they offered both FF2 and FF3 and let the user choose the timing of the switch. My approach is I am not locked-in to one distro only. I can use the best of the best for whatever task they are best at. I have tried Mandriva before. The fact I'm here says I'm giving it another go.
  9. Thank you. Having read the bug report I know to dump Mandriva until it is fixed, which may be never. I will not spend my time setting up Mandriva like I want it only to find that when I install Ubuntu 8.04 Mandriva becomes unreachable and all my effort was wasted! I pitty users that add new distros only to find Mandriva is suddenly history! This sounds more like MS than Mandriva :(
  10. Edited: My solution is in Post #15. Original Post: I installed Mandriva 2008 Spring, booted it a few times. Then I copied the menu.lst stanza for "linux" from the new installation /dev/sdb11 to my existing menu.lst on /dev/sda6. At boot I went to the grub prompt and ran >setup (hd0) (hd0,5) like I've done for a year. But Mandriva will not boot. I get a grub error of Error 2 which from the web I see: 2 : "Selected disk doesn't exist" This error is returned if the device part of a device- or full filename refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system. OK. I'm having no trouble booting the other 10 OSes that are on sdb. SuSE, Debian, Ubuntu boot fine from sdb. Faster to reinstall than to debug. So I did. This time I copied an old stanza from the old menu.lst to the new menu.lst of Mandriva (/dev/sdb11). Boots fine both Mandriva and the copied stanza. OK now I point Grub back to the menu.lst I want to use. grub> setup (hd0) (hd0,5) again. Same results, all the old OSes are fine, Mandriva is stuck at Error 2. So I tried the LiveCD for rescue. In rescue mode it offers to reinstall Grub or MBR or such (I forgot the text). I tried that and got: "release file doesn't contain 'Mandriva'" then "program exited abnormally". What's that mean? Mandriva uses links to vmlinuz and initrd. So I edited to have the full file name rather than a link. I tried both UUID and /dev/ ... Still Error 2. Anyone know what Mandriva is doing that is upsetting GRUB? I see it is still Grub version 0.97 so it should work on another menu.lst. I cannot do grub>setup (hd1) (hd1,10) Grub complains about not finding stage 1 and stage 2 although I see they are there. Even when I try a valid entry on sdb like >setup (hd1) (hd1,1) it looks like it works but still shows the menu from /dev/sda6.
  11. Sorry, I don't follow. If there is an iso to download and try I'll give it a shot. The bug is in booting the LiveCD or Install CD. Once installed there is no problem. Kernel revisions after installing cannot change the CD.
  12. Hi chris:b I'm in MCNLive Delft now. It booted with the keyboard enabled. I could hit [F1] and [F2] to toggle back and forth to text or graphics. I hope Mandriva will use the same boot tool. ffi, I tried 2007.1 Spring DVD and 2007 One CD. Which releases do you mean by "latest or multimedia kernels"? SuSE 10.1 and 10.2 both have the USB keyboard problem on LiveCDs. 10.1 uses 2.6.16.27-0.6 Their forums said the problem only started with 10.1, not 10.0 Is that when gfxboot started? I think it's gfxboot not the kernel, but if you want I'll test a different release, which one? Also I'm in Wisconsin, a major US dairy state, so lets not drag bad milk into this. :) PhilK, Spend some time at http://distrowatch.com/ I have DSL at home and have downloaded and tried over 20 Linux CDs and DVDs, all free downloads. DistroWatch will show you the current release numbers and sources to buy the current release if you are using dial-up internet. The current lead is Ubuntu (also my favorite so far). Number 2 and growing faster is PCLinuxOS which is based on Mandriva. I tried PCLinuxOS twice and didn't like it. But now I'm trying Mandriva. Love the forums!
  13. Took a while but I downloaded and booted Toronto. md5sum of burned CD matches. Nothing good to report. Boots to menu --- keyboard not available, 55 seconds never counts down, never does anything. Boot with Shift key --- boots to a prompt that says: copywright boot: tried boot: install --- doesn't do anything. everything keeps saying not a kernel or something. Tot Ziens
  14. :) Problem Solved :) Since the bug affects both SuSE and Mandriva I went to the SuSE forums for help. The problem is discussed there too of course. The solution: Hold down the shift key! After the Dell splash screen leaves press and hold the Shift key in. After a while the PC asks? Load boot graphics y/n? y Tell it NO n N Then it looks like you'll be doing a text based install. It spills some text to the screen and prompts available options, one is to install type in "linux" at the boot: prompt. so boot: linux. Next you're in the graphics install with a functioning keyboard and mouse. chris:b was right it is something with gfxboot, but gfxboot provides a way around the problem. use text not graphics to choose the menu options, but continue with graphics for install.
  15. Thanks chris:b I downloaded Mandriva One 2007 CD and was able to install to the hard drive. When the CD boots it does not allow the USB keyboard but defaults to "Install" so it works. I was disheartened to see that Mandriva says it is a Dell BIOS Bug. So I checked some Installation and LiveCDs I had close by. The following are NOT affected by the Dell BIOS Bug, they boot with the USB keyboard enabled: Ubuntu 7.04 Xubuntu 6.10 Fedora 7 Fedora Core 6 SysRescueCD 0.3.5 CentOS 4.4 Mephis 6.0 Vector Linux 5.1.1 Gentoo Linux 2006.1 Debian GNU/Linux 4.0 LinuxMint 3.0 Knoppix 5.0 Kaella-Knoppix 3.1 CAE Linux Beta 3a DSL 3.01 (Damn Small Linux) dyne:bolic 2.4.2 LLGP (Games) 0.1 But Mandriva is not alone. The following ARE affected by the Dell BIOS bug: PCLinuxOS 2007 (based on Mandriva) SuSE 10.2 Interesting... SuSE and Mandriva have a very similar graphics boot in GRUB too. I won't pursue it but I wonder if remastering the CD without the stylish graphics might just work... Once Mandriva is installed though GRUB functions fine, the USB keyboard is enabled.
  16. I have the same problem trying to install Mandriva Spring 2007 from a DVD. My PC only has USB keyboard and mouse. No choice of using an older keyboard as there is no port. The DVD boots to the menu of "hard drive" or "install" ... but since it refuses to accept the keyboard there is no choice, it defaults to the hard drive (GRUB) which then boots Ubuntu and the keyboard is fine. With Ubuntu and Fedora7 I had so such issue. Just Mandriva. I have a hard time believing this is a "hardware" problem since it's unique to Mandriva. Any cheat-codes to get Mandriva to use the USB keyboard to allow install? Does another iso download accept USB keyboards? My PC is a new Dell-Ubuntu E520N. I've installed Ubuntu again from DVD and Fedora from DVD with no problems.
×
×
  • Create New...