Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
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
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.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
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.
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 01:25 AM.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.