LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-06-2007, 03:22 PM   #1
domp
LQ Newbie
 
Registered: Mar 2007
Posts: 10

Rep: Reputation: 0
custom boot disk


Hi,

I know in the past version of RHEL, you could use mkbootdisk to create a custom floppy to boot from. But now the kernel seems to big to fit on a floppy.

So what is the correct way on RHEL4 to create a custom bootable floppy?
 
Old 03-07-2007, 12:03 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
None, you can however create a bootable grub floppy.

This is kinda of old, but still may work, a little updating might be needed;

Create GRUB boot floppy:

[root prompt]# fdformat /dev/fd0H1440
[root prompt]# mke2fs /dev/fd0
[root prompt]# mount -t ext2 /dev/fd0 /mnt/floppy
[root prompt]# grub-install --root-directory=/mnt/floppy '(fd0)'
[root prompt]# cp /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf
[root prompt]# umount /mnt/floppy

You can make a GRUB boot floppy as root by;

# fdformat /dev/fd0H1440

# mke2fs /dev/fd0

Note; You can use a blank formatted DOS floppy and skip the two steps
above. You will lose the added security of the ext2 filesystem using this
type of floppy.

# mount -t ext2 /dev/fd0 /mnt/floppy

# grub-install --root-directory=/mnt/floppy /dev/fd0

# cp /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf

# umount /mnt/floppy

When you update the kernel all you need to do is mount the floppy and copy the updated /boot/grub/grub.conf to the floppy. Or you can edit the
/mnt/floppy/boot/grub/grub.conf by hand (good idea if you have a custom
multiple system GRUB boot floppy) if you want.

Anything wrong with making a bootable CD using mkbootdisk???

# mkbootdisk --device boot.iso --iso `uname -r`

You will get an error that can be safely ignored.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Boot Disk kemplej Slackware 3 03-14-2006 09:29 AM
Generic Custom Boot Disk Settings smudge|lala Linux - General 1 08-26-2005 08:28 PM
Custom Installation Disk jplev22 Slackware 4 01-19-2004 12:38 PM
Custom boot disk w/NTFS and DOS emulation dmellem Linux - Newbie 2 03-26-2003 11:36 AM
how to make custom install boot disk? xcp Slackware 0 07-06-2002 02:22 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration