On Sat, 26 Feb 2005 16:57:17 +0800 (PHT), P. M. D. Rodriguez
<[EMAIL PROTECTED]> wrote:
> Good day.
> 
> Before anything else, I would first like to describe my current setup. I
> have a small FAT16 partition, which contains the nt loader, an NTFS
> partition containing Windows XP, an NTFS XP swap partition, a FAT32 shared
> partition (for sharing files between linux and windows), and finally an
> ext3 Fedora Core 3 partition.
> 
> The problem is, I have reinstalled Windows XP, and not surprisingly it
> overwrote the hard drive's MBR thus practically trashing GRUB. I know this
> is very easy to fix, I just boot from the rescue cd's and reinstall grub
> on the MBR, which I have done many times. However, this time I installed
> Norton GoBack, a utility that tracks disk changes on a low-enough level to
> allow me to undo changes and restore my disk to a previous state.
> Naturally, GoBack took control of MBR.
> 
> I do not want to remove GoBack. Thus what I want to do is create a
> diskette or a cd that will allow me to start-up linux. Is it as simple as
> installing GRUB's stage1 to the diskette's boot sector? And if I do this,
> will I still have GRUB's boot menu if I boot from the disk (where is the
> boot menu data stored anyway; I'm guessing it's in /boot)? Also, provided
> that this'll work, is it possible that the start-up diskette will be
> read-only, so I can transfer an image of it to a CD and use that instead
> (I do not want to allow diskette-based booting on my laptop)?
> 
> Thank you for taking your time in reading my long message, I hope someone
> replies soon. Thank you and a good day.
> --

# fdformat /dev/fd0
# mke2fs /dev/fd0

# mount /boot 
# mount /dev/fd0 /mnt/fd0
# mkdir -p /mnt/fd0/boot/grub
# cp /boot/grub/stage* /mnt/fd0/boot/grub 
# grub

root (fd0) 
setup (fd0) 
quit

# echo "Edit/Create grub.conf accordingly"
# cat /mnt/fd0/boot/grub/grub.conf 
title GNU/Linux
root (hd0,0)
kernel (hd0,0)/boot/kernel root=/dev/hda1 
title Windows
rootnoverify (hd0,1)
chainloader +1


-- 
Eduardo Tongson     
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6033AC66
--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to