Results 1 to 10 of 16
Thread: Problem re-installing GRUB
Enjoy an ad free experience by logging in. Not a member yet? Register.
Problem re-installing GRUB
This may damage your filesystem y or n? y
After that i couldn't use GRUB
Grub loading stage 1.5. Grub loading, please wait... Error 17
Now when I used Mandriva DVD to rescue
I selected re-install Grub bootloader
Installing drivers.........SATA controller Installing drivers.........IDE controller Please wait finding your root device running: vol_id /dev/loop0 running: vol_id /dev/sda running: vol_id /dev/sda1 running: vol_id /dev/sda2 running: vol_id /dev/sda3 running: vol_id /dev/sda4 running: vol_id /dev/sda5 running: vol_id /dev/sda6 running: vol_id /dev/sda7 running: vol_id /dev/sda8 Couldn't find your root device:-( Guessmounts failed at /usr/sbin/install_bootloader line 28
I also ran
fdisk -l mkdir realroot mount /dev/sda5 realroot grub-install --root-directory=realroot /dev/sda
/sbin/grub-install:line 595:expr:command not found /sbin/grub-install:line 587:test:-gt:unary operator expected /sbin/grub-install:line 597:test:-eq:unary operator expected
Boot up from LiveCD of any distro and post the output of fdisk -l command here.
So i used mandriva 09 dvd for rescue & had to restore Windows bootloader
Yes devils casper
my windows is working fine
I cant enter my mandriva
Something is wrong with Mandriva's partitions only. Boot up from LiveCD and post the output of fdisk -l command here.
su - fdisk -l
I used mandriva rescue cd
fdisk -l Disk /dev/sda:80.0GB 80026361859bytes 255 heads ,63 sectors tracks,9729 cylinders Units=cylinder of 16065*512=8225280bytes Disk Identifier:0x00000001 Device Boot Start End Blocks Id System /dev/sda1 * 1 1912 15358108+ 7 HPFS/NTFS /dev/sda2 1913 5736 . . 7 HPFS/NTFS /dev/sda3 5737 7011 .. 7 HPFS/NTFS /dev/sda4 7012 9729 .. 5 Linux /dev/sda5 7012 8286 .. 83 Linux /dev/sda6 8287 9083 .. 83 Linux /dev/sda7 9084 9243 .. 82 Linux swap/Solaris /dev/sda8 9244 9729 .. 83 Linux
- Join Date
- Oct 2007
- Tucson AZ
Your fdisk line for sda4 looks different than the normal. The Start (7012) and End (9729) numbers indicate it is an Extended partition containing sda5, 6, 7, 8. The ID (5) indicates a paratition "05 DOS 3.3+ Extended Partition" which "Supports at most 8.4 GB disks: with type 05 DOS/Windows will not use the extended BIOS call, even if it is available. See type 0f below. Using type 05 for extended partitions beyond 8 GB may lead to data corruption with MSDOS".
Usually the type partition for Extended is "0f" or "f". Don't know how this Extended partition was created or how to change it, but it seems like a good possibility as the source of the problem. Happy googling.
you ought to check this link-lissot.net/partition/partition-05.html
I dont think there is anything wrong with sda4
Well I think problem is that my device sda6 is not labelled as '/' hence unable to be loaded by grub
Any kind of help are open
I agree with yancek regarding Extended Partition. Lets verify it. Check if you can mount /dev/sda6 partition in LiveCD.
su - mkdir sda6 mount -t ext3 /dev/sda6 sda6 ls sda6
Devils casper i mounted sda6 successfully
mkdir sda6 mount -t ext2 /dev/sda6 sda6 ls sda6Code:
ls sda6 Recycled lost+found
findf /boot/grub/menu.lst grub/menu.lst /boot/grub/grub.conf Error 15:File Not Found
/dev/sda6 partition is empty. Mount all Linux partitions and check which partition has Linux OS files. Post the contents of /etc/fstab file here.