home Mail List
Info
Info
Meetings
Goals
Upcoming
Projects
FAQ
Security
Links

[Date Prev][Date Next] [Chronological] [Thread] [Top]

[NMLUG] Argghhh!!! I hosed my MBR



On Mon, 6 Dec 2004 17:27:26 -0700, James Hamilton wrote
> On Mon, Dec 06, 2004 at 08:41:05PM -0700, michael wrote:
> > You need to boot up from an install cd.
> > 
> > Then switch your virtual terminal ato get a prompt.
> > 
> > fdisk your partitions.
> 
> What exactly would you use fdisk for.  The partitions are intact 
> only the MBR is broken.  Last time I did this fdisk was unneeded.

I meant fsck, I was just in windoze land.
You would use fsck to fix your broken inodes on the failed startup.

> 
> > Then mount them.  You will manually have to rebuild the directories if 
you 
> > have mount points.
> > Then chroot to your partitions.
> > Then re-run lilo in the chrooted environment.
> > 
> > If you do not fdisk the partitions, your lilo will not work.
> > 
> > michael
> > 
> > On Mon, 6 Dec 2004 11:04:54 -0800 (PST), Tim Emerick wrote
> > > I updated my Win98 partition on my dual boot debian/Windows machine 
> > > to Windows XP.  I expected XP to take over the MBR but didn't 
> > > realize how difficult it was to have LILO take it all back.  I'm now 
> > > stuck with a dead machine.
> > > 
> > > Partititions are all intact, checked them with knoppix.
> > > 
> > > I tried booting knoppix and following some directions on restoring 
> > > the MBR so that LILO could handle the bootup.  Got lost since most 
> > > of the directions I could find were redhat related and I'm running 
> > > debian.  I also got lost since everytime I tried to run lilo it was 
> > > looking at the knoppix generated /etc/lilo.conf that resided on the 
> > > ram disk.
> > > 
> > > Found some generic linux instructions on running lilo from a virtual 
> > > terminal using the install CD (I used my Debian/Testing netinst CD). 
> > >  Couldn't get lilo to run.
> > > 
> > > I also tried popping in the Debian install disk and typing linux
> > > root=/dev/hda1 and root=/dev/hda3.  Bounced back an error about not 
being
> > > able to mount the root.
> > > 
> > > So, I'm pretty much at a loss.  My lack of technical expertise is surely
> > > hindering my efforts at getting this box back up and running.
> > > 
> > > I've looked at some doc's that showed how to edit Windows XP's 
> > > boot.ini file to boot the linux partition but I prefer the lilo 
> > > setup I had.
> > > 
> > > With all that said.....HELP!!!!!!  I really need either dummy's 
> > > approach or a link to a dummy's approach.
> > > 
> > > Here's my Partition info.
> > > /dev/hda1 - 10MB  - ext3 - /boot
> > > /dev/hda2 - 256MB - swap
> > > /dev/hda3 - 8GB   - ext3 - /
> > > 
> > > Thanks in advance,
> > > 
> > > Tim Emerick
> > > /dev/hda4 - 70GB  - vfat - /c (windows XP fat32 partition)
> > > 
> > > 		
> > > __________________________________ 
> > > Do you Yahoo!? 
> > > Take Yahoo! Mail with you! Get it on your mobile phone. 
> > > http://mobile.yahoo.com/maildemo 
> > > _______________________________________________
> > > NMLUG mailing list
> > > NMLUG@nmlug.org
> > > http://www.nmlug.org/mailman/listinfo/nmlug
> > 
> > _______________________________________________
> > NMLUG mailing list
> > NMLUG@nmlug.org
> > http://www.nmlug.org/mailman/listinfo/nmlug
> 
> --
> 
> James Hamilton
> Southwest Cyberport
> http://www.swcp.com
> 505-232-7992		
> _______________________________________________
> NMLUG mailing list
> NMLUG@nmlug.org
> http://www.nmlug.org/mailman/listinfo/nmlug




Please send sugestions and comments to webmaster@nmlug.org.
Valid XHTML 1.1! Valid CSS! Powered by Debian Powered by Apache