MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hello, i was messing around with the partitions yesterday and i create a mess..
I've Vista and Mandriva 2008.0, and i have moved-resized some partitions and now i cannot boot into mandriva. i managed to restore the gfx grub menu, but it must be a problem with the Linux starting settigs..
if i edit some settings in the grub(i changed sda4->sda5 and so on) at the beggining by pressing F2, i can boot until one point, and im in the console, instead of starting normaly the Mandriva.
with the fdisk -l i get this:
/dev/sda1 NTFS ( Vista)
/dev/sda2 Extended
/dev/sda3 Hidden HPFS/NTFS (this might be the recovery partition 4 vista)
/dev/sda4 Linux/swap /dev/sda5 Linux (Mandriva)this means (hd0,4) right?
/dev/sda6 Linux/swap
i tried to upgrade them using Mandriva dvd but it said that sda6 has some kind of problem and the upgrade couldnt start.
i tried to reinstall bootloader but i get this error:
i changed manually the gfxmenu to (hd0,4) and also the following (hd0,4)'s under title Linux..
also to be able to boot until 1 point to Mandriva, i changed the sda7 and sda4 to sda5
I think that you have your partition names scrambled in menu.lst. Here is the proper correspondence between the Linux partition names and the grub partition names:
You do not have a /dev/sda7. You do not have (hd0,6). You do not have hd1.
Quote:
i tried to upgrade them using Mandriva dvd but it said that sda6 has some kind of problem and the upgrade couldnt start.
I think that your discriptions of what each partition contains is incorrect. You do not have a /dev/sda7 and you do not have (hd0,6). So in your menu.lst the Linux, linux-nonfb, and failsafe title sections all have pointers to a non-existant partition.
Your windows1 title section point to an extended partition which is not bootable.
Your windows2 title section points to a non-existant hard drive.
So you need to get your menu.lst cleaned up and then try to boot again.
I think that you have your partition names scrambled in menu.lst. Here is the proper correspondence between the Linux partition names and the grub partition names:
You do not have a /dev/sda7. You do not have (hd0,6). You do not have hd1.
I think that your discriptions of what each partition contains is incorrect. You do not have a /dev/sda7 and you do not have (hd0,6). So in your menu.lst the Linux, linux-nonfb, and failsafe title sections all have pointers to a non-existant partition.
Your windows1 title section point to an extended partition which is not bootable.
Your windows2 title section points to a non-existant hard drive.
So you need to get your menu.lst cleaned up and then try to boot again.
------------------
Steve Stites
yes, ur right, i used to have sda7..but i do have hd1 and its only for data, i dont have any OS on that disk..so i will delete extra titles from menu.lst
but i have a problem, i cannot edit the menu.lst, neither with the bootable DVD by entering to console mode, and nor with semi-booting mode that puts me in console.. the menu.lst file is read-only and i cant save it
With the Mandriva DVD i create a partition 2GB, i installed there Mandriva with only the needed files.
Then i boot 2 new mandriva and add to bootloader the sda5 (my old linux) And it worked !! now i can boot to my old linux !
But the thing that didnt work is that, i tried to setup the grub again, using my old linux, and it cant overwrite the new grub..
any solution for this?
anw im pleased that i found a way to boot 2 my old Mandriva
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.