Re: HELP Cant boot FreeBSD from GRUB (rh9)

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

 



On December 9, 2003 10:56 pm, clemens@xxxxxxx wrote:
> Help!
> I have done this before with Lilo, and probbly GRUB, but right
> now I cant boot a FreeBSD partition on my disk.
>
> Here is the info in grub.conf:
>
> # ======hda2============================================
> title FreeBSD 5.1
>         root (hd0,1,a)
>         kernel /boot/loader
>
> # ======hda1============================================
> and here is the /sbin/fdisk /dev/hda
>
> Command (m for help): p
>
> Disk /dev/hda: 36.5 GB, 36529274880 bytes
> 255 heads, 63 sectors/track, 4441 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1             1       254   2040223+   6  FAT16
> /dev/hda2   *       255       763   4088542+  a5  FreeBSD
> /dev/hda4           764      4441  29543535    f  Win95 Ext'd (LBA)
> /dev/hda5           764      1000   1903671    6  FAT16
> /dev/hda6          1001      1510   4096543+  83  Linux
> /dev/hda7          1511      2020   4096543+  83  Linux
> /dev/hda8          2021      2084    514048+  82  Linux swap
> /dev/hda9          2085      4441  18932571   83  Linux
>
> # ======================================================
>
> As they always say: This used to work.
>
> Now I am getting the error message:
>
>     Booting 'FreeBSD 5.1'
>     root (hd0,1,a)
>        Filesystem type unknown, partition type 0xa5
>     kernel /boot/loader
>
>     Error 17: Cannot mount selected partition
>
>     Press any key to continue...
>
> Now a Partition type of 0xa5  *IS* a FreeBSD partition, so I
> dont understand why grub doesnt understand it.  Im looking at
> the code, and it LOOKS like I might have to specify a BSD file
> type rather than FreeBSD, but its not obvious what...
>
> This RH9, grub-0.93-4


Hi,
I am not using FreeBSD, but there is an article on booting it from Grub in the 
Dec issue of Linux Mag. If I am reading it correctly, your grub.conf line:
>         root (hd0,1,a)
should be:
root (hd0,a)  [or maybe  (hd0,0,a)]
because the second field, if present, indicates the FreeBSD slice, and a 1 
would be slice2 on that disk, but according to your fdisk output, it is the 
only FreeBSD slice (x86 partition).

Hope that helps. (I looked at the Linux magazine site, but current issues are 
not availble on line.)
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux