LinuxQuestions.org
Register a domain and help support LQ
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 12-04-2003, 02:28 AM   #1
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Rep: Reputation: 15
How do I reconfigure Lilo boot loader?


I had 2 hard drives, one with WinXP and the other with Linux. I got a new hard drive for my Win XP installation, and I need to know exactly how I go about doing this. I have the drive installed, formatted, and WinXP copied over to it.

Maxtor 20 GB 5400 RPM (Linux)
Maxtor 30 GB 7200 RPM (WinXP)
Maxtor SATA Diamond Max Plus 9 120 GB 7200 RPM (New drive)
 
Old 12-04-2003, 03:49 AM   #2
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
u have to edit the /etc/lilo.conf file ...im dual booting my atholn xp(slack and xp) and this is my lilo.conf
run pico /etc/lilo.conf to edit as root

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi hdd=ide-scsi"
boot="/dev/hda"
message = /boot/boot_message.txt
prompt
timeout="1000"
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga="773"
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# DOS bootable partition config begins
default=Linux

other = /dev/hda1
label="DOS"
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins

image="/dev/hda1"
root="/dev/hda2"

image="/boot/vmlinuz"
root="/dev/hda2"
label="Linux"
read-only
# Linux bootable partition config ends

-----------------------------------------
ok now ill tell u what really matters here...

1) boot =/dev/hda tells lilo which hard disk to boot from ...depending on which hdd linux is installed in u have to change it...but i dont think u have to touch it cause ure already booting linux fine

2) the other thing that matters is
other = /dev/hda1
label="DOS"
table = /dev/hda

my xp is the first partition on the first hard disk...hence /dev/hda1...i think u said that u installed it on another hard disk...depending on that change accordingly..
add the label line too
and the table line seems to be the hdd that its located in

so im guessing u have to add this

other=/dev/hdb(u may have to use '1' here...not sure)
label="DOS"
table=/dev/hdb

...thats it

tell me if it worked..
 
Old 12-06-2003, 06:28 PM   #3
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Original Poster
Rep: Reputation: 15
ive been so busy i haven't been able 2 mess with it till now. I have no clue how to use pico. when I type pico /etc/lilo.conf logged in as su or in root, I just got an empty page with New File at the bottom.
 
Old 12-06-2003, 06:36 PM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 168Reputation: 168
you don't have to use pico. log in as root and use any editor your comfortable with. then follow the instructions that ganja_guru gave above.
good luck.
 
Old 12-07-2003, 02:07 AM   #5
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Original Poster
Rep: Reputation: 15
problem....I don't know how to use any editor :-/
 
Old 12-07-2003, 02:19 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Just read your post again. If you typed pico /etc/lilo.conf and you got New File, then you definitely have pico, but you don't have a /etc/lilo.conf file. Sorry, but sometimes we overlook the obvious. I'm not familiar with SuSE, but could you have GRUB installed as the boot loader rather than LILO?

Last edited by Bruce Hill; 12-07-2003 at 02:25 AM.
 
Old 12-08-2003, 01:33 AM   #7
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Original Poster
Rep: Reputation: 15
I thought I had Lilo, but now that I think about it, it might actually be GRUB.
 
Old 12-08-2003, 01:53 AM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
I have proven to myself from many attempts that I can't configure GRUB. I've posted for help and nothing worked that I was told to try, so I gave up on GRUB and installed LILO. I read and looked and found out how LILO works and can now configure it okay.

You may want to search Google/Linux and LQ for dual boot with GRUB or some similar terms until you find the answer. It's been asked and answered countless times. Sorry I can't help with GRUB.
 
Old 12-08-2003, 05:09 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,680

Rep: Reputation: Disabled
Oh well.

http://www.tldp.org/HOWTO/Multiboot-with-GRUB.html

http://www.tldp.org/HOWTO/Linux+Win9x+Grub-HOWTO/

http://www.gnu.org/manual/grub-0.92/html_mono/grub.html

http://www.mcc.ac.uk/grub/grub_toc.html

Enough?

 
Old 12-13-2003, 12:14 AM   #10
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Original Poster
Rep: Reputation: 15
Well, I just went ahead and did a fresh install, cuz I didn't have all that much stuff yet so it wasn't too hard to reinstall. I'm on the new install now and have everything up and working
 
Old 12-13-2003, 12:35 AM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally posted by yzrider210
Well, I just went ahead and did a fresh install, cuz I didn't have all that much stuff yet so it wasn't too hard to reinstall. I'm on the new install now and have everything up and working
I have reluctantly done a "fresh install" several times myself, even though I didn't want to do so. This is the Windoze mentality, of which I suffer!

One thing to remember. If you have to do a fresh install again, don't format your /home partition, and all your settings will still be there. I reinstalled Slack because it was much quicker than fixing a problem I had, for which I couldn't find or get an answer. I left the /home partition as it was, and my email, Mozilla favorites, and most all the settings were still as I'd set them before. Try that on Windoze. It won't happen.

 
  


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 Boot Loader drumstick Linux - Software 1 05-20-2005 04:18 AM
lilo boot loader shadowsurfer Linux - Newbie 4 09-26-2004 02:41 PM
Lilo Boot Loader problem Vindane Slackware 4 06-07-2004 12:13 AM
Installing Lilo Boot Loader qcoder Linux - General 1 01-09-2004 11:09 PM
Lilo to Grub Boot loader Maurice Arthur Linux - Software 3 07-23-2001 10:07 AM


All times are GMT -5. The time now is 07:23 AM.

Main Menu
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