Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bootdisk?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
goat
Guest





PostPosted: Sat Apr 27, 2002 5:24 pm    Post subject: bootdisk? Reply with quote

Hello, I was wondering how to dreate a bootdisk to boot my gentoo OS
I found on google that I have to dd my kernel to my diskdrive. But I thought
I need grub on the floppy??

Please explain how this is done.

-goat
Back to top
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sat Apr 27, 2002 6:33 pm    Post subject: Reply with quote

Hey goat I use syslinux and my kernel on a boot floppy and it works flawless. Just pass the options:

Code:

kernel /boot/bzImage root=/dev/hda3


Change your root to where it lies and you will have yourself a bootfloppy.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Jeevz
Bodhisattva
Bodhisattva


Joined: 15 Apr 2002
Posts: 195
Location: Boston, MA

PostPosted: Sat Apr 27, 2002 6:52 pm    Post subject: Reply with quote

It is becoming more convenient to install a boot loader on a floppy and not the kernel (kernels are becoming larger). I use Grub and would advise others to as well.

This is the procedure for creating a Grub bootup floppy (don't forget to put the floppy in the drive :wink: ) :
Code:

     # cd /usr/share/grub/i386-pc
     # dd if=stage1 of=/dev/fd0 bs=512 count=1
     1+0 records in
     1+0 records out
     # dd if=stage2 of=/dev/fd0 bs=512 seek=1
     153+1 records in
     153+1 records out
     #


NOTE: This will destroy any data on your floppy!
Back to top
View user's profile Send private message
Jeevz
Bodhisattva
Bodhisattva


Joined: 15 Apr 2002
Posts: 195
Location: Boston, MA

PostPosted: Sat Apr 27, 2002 6:56 pm    Post subject: Reply with quote

For more information on Grub don't forget to check the info files. They are very helpful.

Code:
info grub
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum