Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 03-04-2005, 12:43 PM   #1 (permalink)
 
Monster Techie

Join Date: Apr 2004

Posts: 1,574

m3trj

Default Resore Linux Bootloader

OK I'm about to reinstall Linux on my dual boot system which has Windows XP and Slackware 10.1 on it. At the moment I am using LILO, but I know that when I reinstall Windows it will overwrite the bootloader. How can I resotre LILO again afterwards?

Thanks in advance.
__________________


\'There is only one basic human right, and that is to do as you **** well please.
And with it comes the only basic human duty, to take the consequences.\'



m3trj is offline  
Old 03-04-2005, 12:47 PM   #2 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

if your reinstalling linux its a non issue, LILO will be installed during the install process, windows must be installed first
horndude is offline  
Old 03-04-2005, 01:15 PM   #3 (permalink)
 
Monster Techie

Join Date: Apr 2004

Posts: 1,574

m3trj

Default

Well yeah but I would like to leave Linux how it is and just install Windows. So I was wondering is there a way I can boot into Linux from a floppy or something to restore LILO?

Thanks.
__________________


\'There is only one basic human right, and that is to do as you **** well please.
And with it comes the only basic human duty, to take the consequences.\'



m3trj is offline  
Old 03-04-2005, 01:19 PM   #4 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

well, original question was ambiguous, with a boot floppy with the right options if you can get it to boot into the original linux filesystem you'd just have to run lilo again
horndude is offline  
Old 03-04-2005, 01:22 PM   #5 (permalink)
 
Monster Techie

Join Date: Apr 2004

Posts: 1,574

m3trj

Default

Ah right thank you. I read that I need to type "linux root=/dev/hda1" at the boot prompt, if I boot from the Slackware CD, where hda1 will be hda6 I think on my system. Will this boot Linux?

Thanks a lot.
__________________


\'There is only one basic human right, and that is to do as you **** well please.
And with it comes the only basic human duty, to take the consequences.\'



m3trj is offline  
Old 03-04-2005, 01:25 PM   #6 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

it should, I think "root=/dev/hdxy" will work provided xy=linux filesystem partition on hard drive
horndude is offline  
Old 03-04-2005, 01:27 PM   #7 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

matter of fact if it boots up ok, log in as root and just type pkgtool and run the LILO script again if youve got anything weird options wise like scsi emulation for a cdrom for example
horndude is offline  
Old 03-04-2005, 01:38 PM   #8 (permalink)
 
Monster Techie

Join Date: Apr 2004

Posts: 1,574

m3trj

Default

Well I just tried what you said and it worked great. Thank you very much.
__________________


\'There is only one basic human right, and that is to do as you **** well please.
And with it comes the only basic human duty, to take the consequences.\'



m3trj is offline  
Old 03-04-2005, 01:57 PM   #9 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

no problem, I try to help when I can, sometimes people round here post some really hard to answer questions LOL
horndude is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On