Bug#234470: os prober detects ufs partitions since 1.20
reopen 234470
thanks
>please support *BSD
>Subject: os prober detects ufs partitions since 1.20
Detecting UFS partitions is not the same as detecting *BSD.
os-prober (~1.42) did not detect FreeBSD partitions,
so I had to write grub menu entries manually.
>% sudo os-prober
>/dev/sda1:Debian GNU/Linux (squeeze/sid):Debian:linux
os-prober detects the partition of old Debian only, no FreeBSD partition.
(I have two IDE hard disks on the PC, and use Debian on sdb1.)
>% cat /etc/grub.d/08_otheros
>#! /bin/sh
>
>cat <<EOF
>menuentry "FreeBSD" {
> insmod part_bsd
> set root=(hd1,msdos2,bsd1)
> kfreebsd /boot/loader
>}
>
>menuentry "FreeBSD chain" {
> set root=(hd1,msdos2)
> chainloader +1
>}
>
>EOF
** version
>ii os-prober 1.42 utility to detect other OSes on a set of dri
** disk partitions
sda1 : EXT3 Debian GNU/Linux (old) squeeze
sda2 : FreeBSD 6
sda6 : UFSv2 /
sda7 : swap
sda8 : UFSv2 /usr
sda9 : UFSv2 /var
sda3 :
sda5 : swap
sdb1 : EXT3 Debian GNU/Linux squeeze
sdb2 : FreeBSD 8
sdb7 : UFSv2 /
sdb8 : swap
sdb9 : UFSv2 /var
sdb10: UFSv2 /tmp
sdb11: UFSv2 /usr
sdb3 :
sdb5 : EXT2 data
sdb6 : swap
Regards,
Nobuhiro
Reply to: