LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] restoring the MBR to GRUB

[ILUG] restoring the MBR to GRUB

pbm pbm at autistici.org
Sat Jan 17 00:43:27 GMT 2004


Darragh, Fri, Jan 16, 2004 at 09:31:51PM -0000:
> 1 create a boot disk for Fedira

Hoping that Fedora keeps GRUB files in /boot/grub:

mformat a:
mcopy /boot/grub/{stage?,menu.lst} a:
echo -e 'root (fd0)\ninstall /stage1 d (fd0) /stage2 p /menu.lst\nquit' | grub --batch 

> 2 restore Grub so I get the boot up screen that I get now?

echo -e 'root (hd0,X)\ninstall /boot/grub/stage1 d (hd0) /boot/grub/stage2 p /boot/grub/menu.lst\nquit' | grub --batch 

substitute X with the number of the partition containing /boot

(...erm, I have a problem with my english: what was the syntax for "substitute"?
"substitute the pillar with the spire" or "substitute the spire for the pillar"?
Or neither? Argh!)

p.
-- 
pbm - "Eh! padre, son anni e anni che la non mi vuol far noci;
       e io ne faccio legna."
                              - A. Manzoni "I promessi sposi"



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell