Operating Systems > Linux and UNIX
GRUB/mount help
Master of Reality:
did you install the FreeBSD bootloader at the beginning of the freebsd partition?
If you did then you can load it the same way you would load windows (And i believe you already know how to do that).
Calum:
well i installed the freebsd bootloader on the mbr, interestingly i ruined the contents of the laptop's hard drive (fun when you know you have nothing to lose!) and the only system still running is now freeDOS on the first partition. so i booted from a MSDOS6.22 bootdisk i had kicking about and did fdisk /mbr and so you know what? instead of booting into FreeDOS next time i boot, guess what? FreeBSD bootloader! (weird) well maybe it's not on the mbr then. that's the sort of thing i am trying to familiarise myself with in this little experiment.
beltorak0:
compiling a stock kernel is nothing really. You start to have problems when trying to compile a tweeked one (like the ones from mandrake). I looked at the source code to try to find out why this one section wouldn't compile -- i never saw so many GOTO statements in my life! Not even back in my days of GW-BASIC (dos 2.11 style); i don't even think i have that many JMP's in assembly! And a JMP is the only means of flow control! anyway... it took a long time to get the 2.4.19-16mdk kernel to compile correctly (and i had to turn off some things i had left on before....). Download stock kernel sources, and copy your current config file for redhat to /usr.src.linux-<version>/.config . You should have no problems with the high-magick linux spell "make (menu|x)config; make dep; make modules; make modules_install; make; make bzImage" and optionally "make install" -- but of course I prefer to copy everything by hand to /boot... just remember to rename the "EXTRAVERSION" variable at the top of the Makefile or you might end up obliterating your working-kernel modules... I just compiled 2.4.20 today... using it now. I even replaced the boot logo with a slackware pic
[ February 04, 2003: Message edited by: beltorak ]
5amYan:
I used to boot FBSD OBSD and RH7.1 with W2K.
I believe OBSD needs to be on the first partition.
FreeBSD can be on any partition. Choose No boot manager/loader/thingy. That's what grub is.
It' been a while but I remember the trick to be adding a letter to grub's hd statement.
Assuming dead rat is on Part1 and FBSD is on part2
/etc/grub.conf
Splash=DeadRat.png
Use this kern to boot to linux=vmlinuz
rdiomage.......
Title=FreeBSD 4.7-RELEASE
rootnoverify (hd0,1a)
chainloader +1
See FFS (UFS1) divides the partition into slices so it's on the first disk-->0 the second partition --> 1 and the first slice --> a
or someletter I don't remember which slice it is.
keep changing it and you'll find it.
I stopped running W2K, and Dead Rat when I found SoL! Then gave that up for FreeBSD. Once I learned how organized it is, I never looked back.
Check out the Netcraft survey, look at the longest uptimes. Most of them are FreeBSD :cool:
I wrote thiswhen I built mine last. It will help you get the most up to date system...
Have fun
[ February 05, 2003: Message edited by: 5amYan ]
Calum:
beltorak, i don't rwally understand what you are saying however your post is most valuable in telling me exzactly the sorts of things i should be learning about. the next thing for me is to go and print out void main's kernel upgrading instructions and try to do them.
as for FreeBSD, it doesn't seem to recognise extended partitions, but i am having that problem quite a bit, and i think it's a combination of the BIOS/bootloaders/OSs i am using. i'm just trying to stuff as many OSs on the one machine (with the dodgy video card and sound card, and funny CD drive and virtually useless modem/network card) to try them all out. so far my favourite linux to learn from is basiclinux (i already learned it only has block devices for hard drive partitions up to hda8, but i have no idea how to make one for hda9 if i need to) and i am totally stumped at how to get my mouse and CD drive working in FreeDOS let alone how to get a GUI going.
but i'm seriously into off topic rambling so it would be good for me to stop here.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version