Recently I bought myself an Asus eee pc 701, as this pc boots easily from usb, its ideal to try some different OS on it. So I decided to try also FreeBSD. Installed it this way: downloaded an usb image of freebsd 8.1, wrote it to stick, booted and from here started the installation on other usb stick.installation went ok, and after booting started to get some addtional packages and configuring (installed Xorg, Xfce4, configured sound and wireless with WPA)
Only one problem left for the moment: when I boot I have to place the live usb stik also in the eee pc,if not boot fails with 'cannot mount root file system')
Tried this:
I looked at /etc/fstab:
If I change the entries in /dev/da01s1a and so one, will that make that I can boot without the live usb in the slot?
(while booting I can see that boot order is like this: 1 ssd, 2 usb live, 3 usb free bsd, 4usb sd card)
So that is why I think that with usb live removed, my freebsd changes from second to first da.
But as I'm new to freebsd and don't understand well its bootloadr and booting I would like to have your opinion before changing things in /etc/fstab and leaveme with an unbootable system
Only one problem left for the moment: when I boot I have to place the live usb stik also in the eee pc,if not boot fails with 'cannot mount root file system')
Tried this:
But didn't find a way to get it workingThere is a longstanding problem in the case where the boot disk is not the first disk in the system. The BIOS uses a different numbering scheme to FreeBSD, and working out which numbers correspond to which is difficult to get right.
In the case where the boot disk is not the first disk in the system, FreeBSD can need some help finding it. There are two common situations here, and in both of these cases, you need to tell FreeBSD where the root filesystem is. You do this by specifying the BIOS disk number, the disk type and the FreeBSD disk number for that type.
The first situation is where you have two IDE disks, each configured as the master on their respective IDE busses, and wish to boot FreeBSD from the second disk. The BIOS sees these as disk 0 and disk 1, while FreeBSD sees them as ad0 and ad2.
FreeBSD is on BIOS disk 1, of type ad and the FreeBSD disk number is 2, so you would say:
1:ad(2,a)kernel
Note that if you have a slave on the primary bus, the above is not necessary (and is effectively wrong).
The second situation involves booting from a SCSI disk when you have one or more IDE disks in the system. In this case, the FreeBSD disk number is lower than the BIOS disk number. If you have two IDE disks as well as the SCSI disk, the SCSI disk is BIOS disk 2, type da and FreeBSD disk number 0, so you would say:
2:da(0,a)kernel
To tell FreeBSD that you want to boot from BIOS disk 2, which is the first SCSI disk in the system. If you only had one IDE disk, you would use 1: instead.
Once you have determined the correct values to use, you can put the command exactly as you would have typed it in the /boot.config file using a standard text editor. Unless instructed otherwise, FreeBSD will use the contents of this file as the default response to the boot: prompt.
I looked at /etc/fstab:
Code:
/dev/da1s1b none swap sw
/dev/da1s1a / ufs rw
/dev/da1s1f /home ufs rw
/dev/da1s1d /usr ufs rw
/dev/da1s1e /var ufs rw
(while booting I can see that boot order is like this: 1 ssd, 2 usb live, 3 usb free bsd, 4usb sd card)
So that is why I think that with usb live removed, my freebsd changes from second to first da.
But as I'm new to freebsd and don't understand well its bootloadr and booting I would like to have your opinion before changing things in /etc/fstab and leaveme with an unbootable system