Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, Can anybody suggest me how to 2

Status
Not open for further replies.

ifxtechie

Technical User
Dec 22, 2000
127
US
Hi,
Can anybody suggest me how to make another boot floppy. I could not burn the current boot floppy to a CD.
Thanks in advance
Partha Parthasarathy, Hassan
 
Hi,

That's fairly simple - just put a floppy in the drive then do as root :

/sbin/mkbootdisk --device /dev/fd0 2.4.14

(where 2.4.14 is the kernel version you want to make a bootdisk for. Usually, this would be the current kernel as indicated by the 'uname -r' command )

If it doesn't work you probably don't have the 'mkbootdisk' rpm installed.

Regards
 
If that doesn't work AND you have a 'boot.img' file, you can try:

dd if=boot.img of=/dev/fd0 bs=1440k

somethings gotta work. :eek:)


 
Hi,
It did not work. Can you pls look below give your valuable suggestions

[root@phost /root]# /sbin/mkbootdisk --device /dev/fd0 2.4.14
/lib/modules/2.4.14 is not a directory.
[root@phost /root]# uname -r
2.2.14-15mdk
[root@phost /root]# /sbin/mkbootdisk --device /dev/fd0 2.4.14-15mdk
/lib/modules/2.4.14-15mdk is not a directory.
[root@phost /root]# /sbin/mkbootdisk --device /dev/fd0 2.4.14-15mdk
/lib/modules/2.4.14-15mdk is not a directory.
[root@phost /root]# dd if=boot.img of=/dev/fd0 bs=1440k
dd: boot.img: No such file or directory
[root@phost /root]# ls -l /mnt/floppy
ls: /mnt/floppy: Input/output error
[root@phost /root]# dd if=boot.img of=/dev/fd0 bs=1440k
dd: boot.img: No such file or directory
[root@phost /root]#

Thanks
Partha Parthasarathy, Hassan
 
try this:

mkbootdisk 2.4.14-15

the default floppy drive is /dev/fd0 so you just need the kernal version. I tried it the way ifincham and the man pages suggest but got the same error. /sbin is in your path so you shouldn't need that either. Also make sure that that is the version you have.
 

Finally it worked. I was able to make a boot floppy. I followed all yours' instructions and the only thing it was erring out was 'kernel directory doesnot exist'. I did a ls and made a x-copy and x-paste. IT worked. [Probably it was having some other [control] characters with the kernel name
2.2.14-15mdk.
I am just pasting the output just thinking that it may help others.

[root@phost informix]# /sbin/mkbootdisk --device /dev/fd0 2.4.14-15
/lib/modules/2.4.14-15 is not a directory.
[root@phost informix]# ls -l /lib/modules/2.4.14-15
ls: /lib/modules/2.4.14-15: No such file or directory
[root@phost informix]# ls -l /lib/modules/2.4.*
ls: /lib/modules/2.4.*: No such file or directory
[root@phost informix]# ls -l /lib/modules*
total 4
drwxr-xr-x 11 root root 4096 Jul 5 2001 2.2.14-15mdk/
[root@phost informix]# ls -l /lib/modules*/*
total 88
drwxr-xr-x 2 root root 4096 Jul 5 2001 block/
drwxr-xr-x 2 root root 4096 Jul 5 2001 cdrom/
drwxr-xr-x 2 root root 4096 Jul 5 2001 fs/
drwxr-xr-x 2 root root 4096 Jul 5 2001 ipv4/
drwxr-xr-x 2 root root 8192 Jul 5 2001 misc/
-rw-r--r-- 1 root root 47857 Jul 5 2001 modules.dep
drwxr-xr-x 2 root root 4096 Jul 5 2001 net/
drwxr-xr-x 2 root root 4096 Jul 5 2001 pcmcia/
drwxr-xr-x 2 root root 4096 Jul 5 2001 scsi/
drwxr-xr-x 2 root root 4096 Jul 5 2001 video/
[root@phost informix]# /sbin/mkbootdisk --device /dev/fd0 2.4.14-15mdk
/lib/modules/2.4.14-15mdk is not a directory.
[root@phost informix]# /sbin/mkbootdisk --device /dev/fd0 2.2.14-15mdk/
/boot/vmlinuz-2.2.14-15mdk/ does not exist.
[root@phost informix]# /sbin/mkbootdisk --device /dev/fd0 2.2.14-15mdk
Insert a disk in /dev/fd0. Any information on the disk will be lost.
Press <Enter> to continue or ^C to abort:
[root@phost informix]#

Thanks for all who helped me.
Partha
Parthasarathy, Hassan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top