LinuxQuestions.org
Help answer threads with 0 replies.
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


Closed Thread
  Search this Thread
Old 03-19-2006, 10:41 PM   #1
Saurian
LQ Newbie
 
Registered: Mar 2006
Posts: 28

Rep: Reputation: 15
Book loader question...


How do I get rid of a boot loader (GRUB) located on the MBR of my master hard disk? Or how do I make it recognize that Ubuntu is no longer there, and make it point to PCLinux (on slave drive) and then have it recognize my windows partition on the master drive?

PCLinux is currently using LILO to boot. How do I set it up to recognize my windows partition on the master hard disk.
 
Old 03-19-2006, 11:56 PM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
My poor english make it difficult to read your post please post the following information, what are u using ? lilo or grub? and what boot loader you are willing to use?


In case you are using grub
To install grub, type grub to get the grub console
in the grub console type
[code] root (hd0,0)
setup (hd0)
[code]
in this example: hd0 is the disk whose MBR will store grub and (hd0,0) is the first partition on hd0 which I want to install my grub config file and so on, change the command to best fit you PC

To remove ubuntu, open /boot/grub.conf
Delete the section for ubuntu
 
Old 03-20-2006, 07:49 AM   #3
Saurian
LQ Newbie
 
Registered: Mar 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Ubuntu is deleted, which is part of the problem. So how do I then add winxp and pclinuxos to the boot loader? I have to hitF8 on startup to make the bios go to the boot menu, select to have it boot off of my slave drive which then boots into LILO and allows me to boot into PCLOS.

How would I go about adding WinXP to my LILO bootloader and pointing it BACK to the master hard drive disk where my winxp partition resides?
 
Old 03-20-2006, 04:49 PM   #4
Saurian
LQ Newbie
 
Registered: Mar 2006
Posts: 28

Original Poster
Rep: Reputation: 15
I'm going to copy what is in Lilo.conf right now:

boot=/dev/hdb1
map=/boot/map
default="pclinuxos"
keytable=/boot/livecd.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.6.12-oci6.mdk-i586-up-1GB
label="pclinuxos"
root=/dev/hdb1
initrd=/boot/initrd-2.6.12-oci6.mdk-i586-up-1GB.img
append="noapic nolapic acpi=ht nomce psmouse.proto=imps splash=silent"
vga=788
read-only


That is all that is in it. So what do I have to add where to make it load WinXP in Lilo? How do I gain access to and write over the master boot record of my first hard disk. Is there any button that I can hit in the lilo opening screen which makes it look for other installed operating systems and automatically add them?

Do I have to add something about booting from /hda1? I'm new to the bootloader thing. I think I could figure out how to do it if it were a linux distro, but how do you do Windows?
 
Old 03-20-2006, 06:59 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
If your Windows is in master disk say first partition then it will be hda1. The entries needed in /etc/lilo.conf are
Code:
other=/dev/hda1
label=My_Windows
To get Lilo in the slave to boot the master disk, just boot to PCLinux log in as root ( or superuser) and type in terminal
Code:
lilo -b /dev/hda
For extra details/explanations take a look at the last link of my signature.

Anything else?
 
Old 03-21-2006, 04:51 AM   #6
Saurian
LQ Newbie
 
Registered: Mar 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks! I had a buddy of mine help me last night on he phone and we got Windows hooked up in there. Though, since i finally got around to ordering my new hard drive... it might have been a wasted effort, I have a whole lot of new fun to go through. Or torture.
 
Old 03-22-2006, 08:19 PM   #7
ariestruong
LQ Newbie
 
Registered: Mar 2006
Posts: 18

Rep: Reputation: 0
I have a problem with boot loader. I want choice Windows as default OS when start, I goto boot/grub/menu.lst or grub.conf but when I open it the it warn I can't open. How to open it and I can see my others partitions but can't read. Why ? Please help me because Iuse Linux the first time
 
Old 03-22-2006, 10:03 PM   #8
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
What are you trying to open grub.conf with. Open it with vim or nano as root user so you can save your changes.
 
Old 03-23-2006, 02:26 AM   #9
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
To see and edit a system-related file you need admin privileges.

This can be obtained by logging in as root but some distros, especially theose from the Debian familiy, disallow it.

Alternatively you can click terminal or console, type "su" and supply the root password.

If that fails because implemented security then you can try to preceed every command with "sudo".

ALways edit /boot/grub/menu.lst to tell Grub what you need. This is the official channel.

In Grub's menu.lst there is a "default" statement to tell Grub to boot the system after a user fails to make up his/her mind when the time specified in the "timeout" statement has been exceeded. Altering the number after "default" is all you need to choose which system to boot up. Just remeber Grub counts from 0 so "default 0" means defaulting to the 1st system.
 
Old 03-23-2006, 02:38 AM   #10
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
grub.conf is a symlink to menu.lst. Edit the latter one always.
 
Old 03-23-2006, 12:38 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please do not post more than one thread on the same topic. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

http://www.linuxquestions.org/questi...d.php?t=427232
 
  


Closed Thread


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
LFS 6.0 Book question. microsoft/linux Linux From Scratch 9 07-09-2005 05:35 PM
Grub loader question iaMMai Red Hat 5 05-22-2005 02:50 AM
Question about a book review Mega Man X LQ Suggestions & Feedback 15 02-18-2004 09:48 PM
Gurb loader question kuba Linux - Newbie 4 02-12-2004 02:04 PM
Book question.. Valael Mandriva 2 01-04-2004 01:03 AM

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

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