Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-20-2004, 01:06 AM   #1
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
putting GRUB on a floppy?

I've recently screwd up my XP system. Got a nasty little piece of spyware. I'm planning to reinstall Windows next week. Is it possible to put GRUB on a floppy, (ie: copy everything from /boot to /mnt/floppy) so when I reboot with my newly over-written MBR, I can just boot the floppy and reinstall GRUB that way?
If so, will issuing 'grub' at a command line reinstall it, similar to lilo?
Old 07-20-2004, 01:52 AM   #2
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
Old 07-20-2004, 10:17 AM   #3
Registered: Jul 2004
Location: New Jersey, US
Distribution: Red Hat Linux WS version 3
Posts: 126

Rep: Reputation: 15
je_fro, the url you provided is a dead link. I'm interested in the answer to this, as well

Old 07-20-2004, 10:54 AM   #4
Registered: Sep 2003
Location: kolkata
Distribution: Fedora 7
Posts: 60

Rep: Reputation: 15
you could make a linux boot disk.
$ uname -r
the output will be your kernel version.
$ su -
# mkbootdisk --device /dev/fd0 <kernel version>
this will create a boot floppy for you.
once you get windows installed you could, boot into linux with that and again setup grub as your bootloader from linux.

# /sbin/grub
# find /boot/grub/stage1
this will give you a partiotion like
where x,y are real numbers.
# root (hdx,y)
# setup (hdx)
yes setup is hdx only.
the next time you reboot, you should have grub as your bootloader.
Old 07-20-2004, 12:15 PM   #5
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
it's not dead to me...
Old 07-20-2004, 01:01 PM   #6
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
I have a grup boot floppy which I use for just such an ocassion. One nice thing about this floppy is it is generic and can be used on other computers with no modification.

Here is how I made the floppy....

fdformat /dev/fd0
mke2fs -m 0 /dev/fd0

dd if=/boot/grub/stage1 of=/dev/fd0 bs=512 count=1
dd if=/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1

Boot the floppy to the grub prompt. ( grub > )
Enter root directory and mbr information. For example...
root (hd0,1)
setup (hd0)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Putting Grub on a Floppy lashnjo Linux - General 1 07-03-2005 11:33 PM
Grub on Floppy bigbossandy Linux - Newbie 1 05-28-2005 07:50 AM
Putting YOPER into grub offaxis Yoper 1 10-27-2004 07:37 PM
Putting YOPER into grub offaxis Linux - General 2 10-25-2004 03:44 PM
Is putting lilo/grub below cyl 1023 still required? mark_umr Linux - General 1 09-08-2002 01:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:46 AM.

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