You are not logged in.

#1 2011-09-04 11:14:22

rohanprabhu
Member
Registered: 2011-08-23
Posts: 16

Trial (grammatical number) booting into FreeBSD with Windows and Arch

This is my output for `fdisk -l`:

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *   335549655   419441084    41945715    7  HPFS/NTFS/exFAT
/dev/sda2              63   335549654   167774796   83  Linux
/dev/sda3       419441085   494946143    37752529+  a5  FreeBSD
/dev/sda4       494946585   625137344    65095380    5  Extended
/dev/sda5       494946648   616590764    60822058+   7  HPFS/NTFS/exFAT
/dev/sda6       616590828   625137344     4273258+  82  Linux swap / Solaris

I have Arch installed in `/dev/sda2` and Windows on `/dev/sda1`. Also, GRUB is installed in MBR and `/boot` is on `/dev/sda2`. This is what I wish to do: Install FreeBSD in `/dev/sda3`, but boot from the current instance of GRUB. This is an entry I made in GRUB:

title FreeBSD 8.2
root (hd0,2)
kernel /boot/loader

but it seems that GRUB didn't take nicely to UFS. So, I guess I must use chainloading over here? Exactly how do you suggest I go about it?

NOTE: I chose to not install any bootloader during the FreeBSD installation. Also, a question I might as well squeeze in here: Can I share `/dev/sda6` as swap for both Arch and FreeBSD. I've read people saying that it must be in the BSD slice and all. Don't know much about it.. totally new to FreeBSD.

Offline

#2 2011-09-04 12:30:59

Gooru
Member
From: Poland
Registered: 2010-08-25
Posts: 53

Re: Trial (grammatical number) booting into FreeBSD with Windows and Arch

The FreeBSD doesn't work like Linux with partitions, BSD partition is divided in slices, so you can't boot it like you mention. At my computer I have this in menu.lst:

# (2) FreeBSD
  title   FreeBSD
  root    (hd0,a)
  kernel  /boot/loader

If you want to read some more: http://www.freebsd.org/doc/handbook/dis … ation.html
And just in case you want to see it, my fdisk -l:

Urządzenie Rozruch   Początek      Koniec   Bloków   ID  System
/dev/sda1            2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   106497215    53145184   a5  FreeBSD
/dev/sda3       106498048   536578047   215040000    7  HPFS/NTFS/exFAT
/dev/sda4   *   536578048   976768064   220095008+   5  Rozszerzona
/dev/sda5       731896381   917655975    92879797+  83  Linux
/dev/sda6       917656039   976768064    29556013   83  Linux

BTW "Rozszerzona" means "Extended" ;]

Last edited by Gooru (2011-09-04 12:36:09)

Offline

#3 2011-09-04 14:43:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trial (grammatical number) booting into FreeBSD with Windows and Arch

Run

LC_ALL=C <command>

to get output in English.
If you enabled C locale, it should work.

Offline

Board footer

Powered by FluxBB