nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   Grub Boot Floppy (http://www.nvnews.net/vbulletin/showthread.php?t=64954)

seeker 02-15-06 06:41 AM

Grub Boot Floppy
 
For something so simple, I'm having alot of problems making a boot floppy. I've been following the instructions here:

http://users.ameritech.net/gholmer/h...ot-floppy.html

On my first attempt, everything seemed to go okay, until the copy command returned this: cp: cannot stat `stage2': No such file or directory. It copied stage1 fine. I also tried the copy command for: /boot/grub/menu.lst, /boot/grub/device.map, and /boot/message, which indicated no problems, except on the latter portion about /boot/message, which said that it did not exist. Then I used the last command: dd if=/dev/hda of=/media/floppy/boot.mbr bs=512 count=1, which again did not indicate a problem. But after all of this, I viewed the content of the floppy and all that was there was stage1 of grub.

I loaded a new floppy and followed the sequence, until I got this:

linux:/media/floppy/boot/grub # cp stage1 stage2 /media/floppy/boot/grub
cp: cannot stat `stage1': No such file or directory
cp: cannot stat `stage2': No such file or directory

Now it appears that it can't even find stage1. I can only assume that these files do exist, since I am booted up to linux now. I hope that it didn't mess up something with grub though. Can anyone see what is going wrong?

EDIT: I took a look in /boot/grub and all of the files appear to be intact.

Destructionator 02-15-06 11:50 AM

Re: Grub Boot Floppy
 
Quote:

Originally Posted by seeker
linux:/media/floppy/boot/grub # cp stage1 stage2 /media/floppy/boot/grub
cp: cannot stat `stage1': No such file or directory
cp: cannot stat `stage2': No such file or directory

Well, the problem here is that you are tring to copy the files from the floppy onto the floppy.

Instead of putting stage1 and stage2 on that command line, try putting /boot/grub/stage1 and /boot/grub/stage2.

After you try again, please post all the commands you typed in and all their output. Simply copy and paste that in, and we can make sure everything is going as it should.


All times are GMT -5. The time now is 10:50 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.