LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2002, 11:08 AM   #1
elbebeboricua
LQ Newbie
 
Registered: Sep 2002
Location: Puerto Rico
Posts: 2

Rep: Reputation: 0
Exclamation Removing Mandrake Linux 9.0 !


Hi All... I was going to install Mandrake linux 9.0 on my system to give it a try and i have 2 harddisk of 40gb (1 for MS-XP one for my data) the thing is that i installed Mandrake 9 but it was asking me for a login and password and it dint enter in any way all i want to do is remove the boot loader because it ask where i want to boot and i want XP for default or having directly to xp like before now i have to stay in front of my pc till it goes to that screen because if not it tries to enter to linux... if anyone can help get back my directly boot to win xp ill be very thankfulll!!!


I am planning on doing a fresh install of Mandrake 9 on my other hardisk ... i want to try it !!!

Thanks , Ill be cheking to see answers...
 
Old 09-29-2002, 03:24 PM   #2
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
Normally I don't answer questions to Windows for you I will do an exception you know because I happen to know how hehehe.

Boot to XP CD, enter Recover Console, type fixmbr, reboot.

# After you installed XP on /dev/hda1
# & Linux with lilo on /dev/hda2
#
# Replace /dev/hda2 if need be
#
Boot Linux & open terminal
su
mount /mnt/floppy
dd if=/dev/hda2 of=/mnt/floppy/boot.lnx bs=512 count=1
cp boot.lnx /mnt/floppy
umount /mnt/floppy
Boot XP
copy boot.lnx c:\
edit boot.ini
After multi(0)..., add a new line
C:\boot.lnx="linux"
Reboot
 
Old 09-29-2002, 03:27 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,575

Rep: Reputation: 181Reputation: 181
To remove Linux bootloader: boot into linux, log in as root and run
lilo -u
OR to make XP bootable:
Boot to Linux, log in, open /etc/lilo.conf. Search for a line beggining with 'other=', there will be 'label=' line below. The text after 'label=' should be 'windows', 'win' or something similar. Note it down. Then go up, find line 'default=' and replace the current 'linux' with the label you have noted. Save the file. Run
lilo

NOTE: To start GUI after you log in use
startx
 
  


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
Removing Mandrake 10.1 mediahub Linux - Software 2 02-25-2005 09:15 AM
Removing Mandrake 10.0 Tavy Mandriva 4 11-21-2004 07:43 AM
Removing Mandrake and installing XP TheDewAddict Linux - Newbie 12 05-22-2004 10:11 PM
removing Mandrake bootloader wjal Linux - Newbie 4 02-28-2004 10:48 AM
Removing Mandrake? or over installing? thom Linux - Distributions 3 04-21-2003 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 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