LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-25-2005, 05:00 PM   #1
magoseitor
LQ Newbie
 
Registered: Jan 2005
Distribution: Gentoo 2004.3
Posts: 7

Rep: Reputation: 0
Exclamation Re-Installing without /sbin/lilo


Hi folks!!

Recently, my Gentoo died (1 minute of silence please xD). I posted in may places for answers but didn't get away with a solution. So i decided to reinstalling it again. In fact i wouldn't mind installin t over and over again, the only problem is that i have on the same machine the motherf*cking WindozeXP......and i REALLY REALLY hate installing WinbugsXP.

I use LILO, and i always have this problem that if i have dual boot with LILO working fine and i make a new installation and /sbin/lilo to the MBR, i CANNOT boot anymore the Winbugs partition. Don't know why, i just now that always happens no matter wich distro i use.

And my question is.... if making THIS BELOW the *thing* will work...

1-format the / and /boot partition

2-I make the SAME Gentoo installation that was before BUT during the installation i make the SAME lilo.conf and DO NOT /sbin/lilo

3-Will Gentoo and WinbugsXP boot again???

PD: resuming,...repeat the same steps for installation but i omit installing LILO to the MBR and make the same lilo.conf that was before......All archives, kernel image, kernel map, bla bla bla in the same place the *old* LILO in the MBR had before...

any answer is really apreciated and thanked in advance!!!
 
Old 01-25-2005, 05:25 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
if you dont want to install to the MBR, edit the lilo.conf file and change the line:

boot=/dev/hda ( or whatever your harddrive is)

to

boot=/dev/fd0 ( or whatever your floppy drive is)

if you want to make a lilo bootable floppy and leave the XP bootloader untouched.
 
Old 01-25-2005, 05:47 PM   #3
magoseitor
LQ Newbie
 
Registered: Jan 2005
Distribution: Gentoo 2004.3
Posts: 7

Original Poster
Rep: Reputation: 0
hey __J, thanks a lot for that, i didn't know it, and maybe might use it in a future...

But i don't use the XP bootloader, i use LILO, i only want to re-install gentoo and leave the LILO *untouched* in the MBR, i only doubt if making the same lilo.conf again and leaving the LILO options as they are in the MBR right now, will make the new gentoo installation boot...

cheers ans thanks again!!!!!!!!!
 
Old 01-25-2005, 05:50 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
yeah you should be alright, but you'll still have to run /sbin/lilo.

in my experience, I've always had to run it even if the kernel images are the exact same name and all.
 
Old 01-25-2005, 09:25 PM   #5
magoseitor
LQ Newbie
 
Registered: Jan 2005
Distribution: Gentoo 2004.3
Posts: 7

Original Poster
Rep: Reputation: 0
__J, thanks for the answer again...
i have made a descision....,will take another 20gb hard drive and make a *test* installation of winbugs and gentoo, after that i will break gentoo and try to installing it again without /sbin/lilo and see what happens...

how did i forget to "simulate it"?? hehe... hammer me xD

thanks, will post the results soon!!!
 
Old 01-25-2005, 10:31 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
When lilo is run, it points each kernel image to an exact portion of the disk... in other words, if the sectors used by the kernel have changed, you MUST re-run /sbin/lilo.
 
  


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
run /sbin/lilo after update IF you use LILO (don't know) jdblick Suse/Novell 3 12-28-2004 04:06 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 12:21 PM
Forgot to run /sbin/lilo justin_p Slackware 3 08-26-2004 07:53 AM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM
lilo spits out this warning during /sbin/lilo .... purpleburple Linux - General 3 08-07-2002 04:09 PM


All times are GMT -5. The time now is 10:21 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration