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

Bug#630107: [kfreebsd] cannot configure grub-pc (error: cannot find a GRUB drive for /dev/ad0s1)



Robert Millan wrote:
> 2011/6/11 Jonathan Nieder <jrnieder@gmail.com>:

>>  Generating grub.pc ...
>>  Found kernel of FreeBSD: /boot/kfreebsd-8.2-1-amd64.gz
>>  Found kernel module directory: /lib/modules/8.2-1-amd64
>>  /usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/ad0s1.  Check your device.map
>>  ls: cannot access /lib/modules/8.2-1-amd64/unknown.ko: No such file or directory
>
> What filesystem(s) are you using?

Only one slice, UFS.

Jonathan

# fdisk -l /dev/ad0
last_lba(): I don't know how to handle files with mode 20660

Disk /dev/ad0: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b5bc3

    Device Boot      Start         End      Blocks   Id  System
/dev/ad0p1   *           1         620     4974592   a5  FreeBSD
Partition 1 does not end on cylinder boundary.
/dev/ad0p2             620         653      265217    5  Extended
Partition 2 does not end on cylinder boundary.
/dev/ad0p5             620         653      265216   82  Linux swap / Solaris



Reply to: