[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

where does grub put the MBR?



Hi,

Is there a way to know *for sure* where grub puts the MBR? (No setup command)

/grub/device.map has:
hd0=/dev/hda
hd1=/dev/sda

and menu.lst has:

=============================================================
#
default         2
#
timeout         5
# Pretty colours
color cyan/blue white/blue
# ...
title           Debian GNU/Linux, kernel 2.6.16-ck8
root            (hd1,2)
kernel          /boot/vmlinuz-2.6.16-ck8 root=/dev/sda3 ro quiet
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.16-ck8 (recovery mode)
root            (hd1,2)
kernel          /boot/vmlinuz-2.6.16-ck8 root=/dev/sda3 ro single
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.8-2-386
root            (hd1,2)
kernel          /boot/vmlinuz-2.6.8-2-386 root=/dev/sda3 ro quiet vga=788
initrd          /boot/initrd.img-2.6.8-2-386
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root            (hd1,2)
kernel          /boot/vmlinuz-2.6.8-2-386 root=/dev/sda3 ro single
initrd          /boot/initrd.img-2.6.8-2-386
savedefault
boot

=============================================================

But the way hda is setup (on VMware) is like this:

   Device    Boot      Start         End      Blocks   Id  System
   /dev/hda1               1         973     7815591   2d  Unknown
   /dev/hda2             974        1946     7815622+  2d  Unknown
   /dev/hda3            1947        2919     7815622+  2d  Unknown
   /dev/hda4            2920        9729    54701325    5  Extended
   /dev/hda5            2920        3892     7815591   2d  Unknown
   /dev/hda6            3893        4865     7815591   2d  Unknown
   /dev/hda7            4866        9729    39070048+  83  Linux

So does he put the MBR on /dev/hda or /dev/hda7?

Thanks!

H










Reply to: