LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2007, 10:52 PM   #1
eikeland
Member
 
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Rep: Reputation: 15
How to edit lilo.conf in windows


Not sure if this is the right place for this post since I am trying to get rid of Linux, but I will try anyway. I helped a friend install Linux (Mandriva 2006) on her laptop, but she now wants to get rid of it. The plan is to default lilo to Windows with a timer of 0 and then re-format the linux partition(s). It's no big deal if lilo is still there. The problem is that she doesn't remember the root password. I know there is a way to edit lilo.conf in windows since I did this myself years ago, but I don't remember. Does anyone know how to do this?
Any other way of doing this, maybe by using the windows install CD?? I would also think we could try installing Mandriva again and it should ask for a root password again, but that's a little more involved and I am just trying trying to do something quick and safe since my friend lives in a different state and can't do it myself....

Thanks
 
Old 10-15-2007, 01:52 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Why not just reinstall Windows' bootloader? It's easily done with the CD and recovery console.
 
Old 10-15-2007, 08:35 AM   #3
larkl
Member
 
Registered: Sep 2007
Distribution: Puppy 5.2.8
Posts: 69

Rep: Reputation: 15
I definitely just reinstall the windows MBR from the CD or you could use a variety of different recovery tools.
 
Old 10-15-2007, 08:44 AM   #4
glow649
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
Why do you want to get rid of Linux ?
 
Old 10-15-2007, 09:31 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
1. Boot from the Windows CD
2. Select R for Recovery Console
3. Type the number of your Windows install (usually 1) and hit enter
4. Type in the administrator password
5. Type fixmbr and hit enter
6. Answer yes when it asks you to overwrite the MBR
7. Type exit, which will then reboot the system and everything should work
8. boot into windows and delete the Linux partitions
 
Old 10-20-2007, 01:01 PM   #6
eikeland
Member
 
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Original Poster
Rep: Reputation: 15
Well, it would have been nice if Toshiba had supplied a CD/DVD that would do that. However, their Recovery disk doesn't give me those options. I have two options:
1. Recovery of Factory Default Software
2. Erase the hard disk.

I choose the first option.

I then get 3 options:
1. Recovery to out-of-box state
2. Recovery without changing the hard drive partitions
3. Recover to a custom size partition.

Regardless of which option I type, I am told that all partitions will be deleted and I will loose all data on the hard drive! Nice Toshiba!
I have no option to go to the standard windows recovery console like other manufacturers do.

Any suggestions?
 
Old 10-20-2007, 09:38 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Man I do so hate OEM recovery CD's. Maybe call Toshiba and ask them how to run the utility (fixmbr) you need ?

I always specify that recovery CD's are NOT an acceptable option when purchasing a new PC. I want a FULL OS CD. I think you can see why.


This may help... MBRFix

I've never used it but it looks like it may do the trick...
 
Old 10-21-2007, 08:15 AM   #8
eikeland
Member
 
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Original Poster
Rep: Reputation: 15
I agree. I made a big stink about that last time I bought a laptop for myself. However, I just took a look at it, and it actually let me get into the Recovery console. This one came from Compaq, so they are at least a little bit better than Toshiba.

I was able to fix the problem by using Mandriva 2008 installation DVD. As soon as it booted up, it gave me an option to restore the Windows boot loader. That's they way it shold have been in Windows....
I then had to drop the old Linux partitions and create one for windows and then format it. I could at least do that in Windows though.
 
Old 10-21-2007, 10:01 AM   #9
eikeland
Member
 
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Original Poster
Rep: Reputation: 15
Wink

I called Toshiba to give them a hard time about their 'recovery' disk. They confirmed that the only option was to erase all data and to get the laptop back to the state it was shipped in. I told them how foolish it was of them to not offer a simple option to fix the mbr and that I would never buy a Toshiba product! I also asked the rep if she agreed with me that this was foolish by Toshiba not to offer a product that would allow a user to fix a boot record. She asked me to understand that she could not comment on that
 
  


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
lilo.conf and Windows XP dual boot isak Slackware 7 09-25-2007 03:54 PM
lilo.conf issue with Windows NiallC Linux - Newbie 1 10-29-2005 09:38 PM
Kernel compile on Mandriva. lilo.conf only shows Windows listing for boot? Kramer Mandriva 2 08-20-2005 07:03 PM
How to edit Lilo.conf? jmr0311 Linux - Newbie 17 07-07-2004 01:23 AM
edit windows boot ini to allow booting to lilo V_LESTAT Linux - Newbie 2 01-15-2004 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration