why Can't I install the grub on ubuntu 6.06?

David Koski david at kosmosisland.com
Tue Dec 26 15:54:48 UTC 2006


What does /boot/grub/device.map have in it?

David

On Tuesday 26 December 2006 07:18, zhihang wang wrote:
> This is my disk partion table:
> sudo fdisk /dev/hda -l
>
> Disk /dev/hda: 60.0 GB, 60011642880 bytes
> 255 heads, 63 sectors/track, 7296 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1        3825    30724281    c  W95 FAT32 (LBA)
> /dev/hda2            3826        7226    27318532+  83  Linux
> /dev/hda3            7227        7296      562275    5  Extended
> /dev/hda5            7227        7296      562243+  82  Linux swap /
> Solaris
>
> When I install grub as follows:
> sudo grub-install /dev/hda2 --modules=ext2
> An error message alway occures:
>
> cannot find a GRUB device for /boot/grub.
> grub-setup: error: Cannot guess the root device. Specify the option
> ``--root-device''.
>
>
> Could any one help me?
>
> Best regards
>
>
> --
> Best Regards
> zhihang wang





More information about the ubuntu-users mailing list