LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 05-16-2005, 02:03 AM   #1
ady
LQ Newbie
 
Registered: Jul 2001
Location: Goa, India
Distribution: Red Hat 9
Posts: 17

Rep: Reputation: 0
Restoring Master Boot Record ?


Hello friends.

I have a problem at hand.

I have an IBM R51 laptop.
I had a dual boot system with Redhat 9 and Windows XP.

Now by mistake, I deleted the linux partitioni from within windows and converted that partition to a FAT 32 one.

This corrupted the grub boot loader and now when I start my machine, even the windows does not boot.

(In my desktop PC, his had happened before and using the windows boot up floppy disk, I had run "fdisk /mbr" and had restored my MBR.
But in my laptop, I dont have a floppy drive. I also dont have a windows bootable CD.

I have a USB pen drive (64 MB)

Can anyone please help me what to do now?


Thanks

Aditya
 
Old 05-16-2005, 02:34 AM   #2
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: Gentoo, Kubuntu
Posts: 112

Rep: Reputation: 15
why don't you ask this question at the Micro$ucks forum???
there is a nice distro called ERD commander it is aimed to crack any windoVZZ in da house %-) try it and you'll feel much better (doots from CD)
 
Old 05-16-2005, 02:54 AM   #3
Black Raptor
Member
 
Registered: Feb 2005
Posts: 31

Rep: Reputation: 15
I like to help, even though my knowledge in dual boot XP/Linux is basically 0.

Why don'y you borrow someone's a bootable USB drive. Then enable "Boot from USB" in your BIOS and reboot the system. This would at least let you see if your previous installation is still intact.

Next, use you bootable USB drive to issue a command SYS.COM to transfer the COMMAND.COM, IO.SYS and MSDOS.SYS files across. Hopefully, you should be able to restore control of your hard disk without using the USB drive.
 
Old 05-16-2005, 04:29 AM   #4
ady
LQ Newbie
 
Registered: Jul 2001
Location: Goa, India
Distribution: Red Hat 9
Posts: 17

Original Poster
Rep: Reputation: 0
how do I make a USB bootable drive for XP?

Yes, I can use the USB bootable drive.

But I dont know how to make a USB bootable.

Can anyone help me on this front? How do I make a USB bootable drive for Windows XP?

Aditya
 
Old 05-16-2005, 04:36 AM   #5
0.o
Member
 
Registered: May 2004
Location: Raleigh, NC
Distribution: Debian, Solaris, HP-UX, AIX
Posts: 208

Rep: Reputation: 35
1) Boot off of your XP disk
2) Enter the recovery console (I hope you have an admin password set)
3) After in the RC issue: fixmbr then fixboot
4) And you should reboot into XP hell...
 
Old 05-16-2005, 10:01 AM   #6
Black Raptor
Member
 
Registered: Feb 2005
Posts: 31

Rep: Reputation: 15
ady's current problem is that he has lost his OS.

ady, one workaround at the top of my head is take the advantage of your USB drive being mobile or portable to be more precise.

Get to a good PC doing Windows XP. Take a blank floppy disk with you. Make a recovery disk from"Add/Remove Programs".

Next insert your USB drive into the PC. Format the drive with system files.

Now you can boot up your PC with either the floopy or your USB drive.

If you can borrow a bigger USB drive say, a 1GB drive. Install Windows 98 into it. Boot your PC from the USB drive. Use the command FDISK/MBR to rewrite the Mster boot record. Repeat 7 times to overwrite all previous data which might still be resident in the MBR.
 
Old 06-19-2006, 04:44 AM   #7
lunlun
Member
 
Registered: Jul 2005
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by Black Raptor
ady's current problem is that he has lost his OS.

ady, one workaround at the top of my head is take the advantage of your USB drive being mobile or portable to be more precise.

Get to a good PC doing Windows XP. Take a blank floppy disk with you. Make a recovery disk from"Add/Remove Programs".

Next insert your USB drive into the PC. Format the drive with system files.

Now you can boot up your PC with either the floopy or your USB drive.

If you can borrow a bigger USB drive say, a 1GB drive. Install Windows 98 into it. Boot your PC from the USB drive. Use the command FDISK/MBR to rewrite the Mster boot record. Repeat 7 times to overwrite all previous data which might still be resident in the MBR.


how do you format the usb-drive with system files?
 
Old 06-19-2006, 05:33 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,487

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Personally, given the lack of a XP CD, I'd just boot a Knoppix CD and re-install grub into the FAT32 partition, and use grub to boot XP.

Maybe a winPE solution would also suffice - never used it, but seen it mentioned. Google for it.
 
  


Reply


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
Restoring Master Book Record davethegenius Linux - Software 2 04-24-2005 11:28 AM
master boot record help sfr7 Linux - Laptop and Netbook 10 04-25-2004 09:52 AM
Master Boot Record linuxuser05 Linux - General 3 01-11-2004 07:57 PM
master boot record alaios Linux - General 1 04-22-2003 09:41 AM
master boot record dark_light Linux - General 11 07-03-2002 06:21 AM


All times are GMT -5. The time now is 05:37 AM.

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