LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-18-2006, 08:54 AM   #1
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Rep: Reputation: 15
Cool Reinstalling LILO


Hi! I have a problem concerning one of my babies. This baby of mine has two OS, Slackware and Winbloze. I think one of the system file of my Winbloze got absolutely corrupted and I'm experiencing difficulty at the moment, it frequently freezes after booting. So, I thought it would be best if I format the partition where winbloze is and reinstall it. My dillema is that, if I format that partition and reinstall winbloze, it will overwrite the MBR where lilo resides and I may not be able to boot Slack. I don't want my Slack partition to be lost since I use it for work. Can I just reinstall LILO after installing winbloze? or are there other ways to deal with this thing? My /boot and / resides in the disk where winbloze partition is the other partitions are on another disk.
 
Old 09-18-2006, 08:59 AM   #2
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
Talking

Quote:
Originally Posted by Andriy
Hi! I have a problem concerning one of my babies. This baby of mine has two OS, Slackware and Winbloze. I think one of the system file of my Winbloze got absolutely corrupted and I'm experiencing difficulty at the moment, it frequently freezes after booting. So, I thought it would be best if I format the partition where winbloze is and reinstall it. My dillema is that, if I format that partition and reinstall winbloze, it will overwrite the MBR where lilo resides and I may not be able to boot Slack. I don't want my Slack partition to be lost since I use it for work. Can I just reinstall LILO after installing winbloze? or are there other ways to deal with this thing? My /boot and / resides in the disk where winbloze partition is the other partitions are on another disk.
Yes, it's no problem to run LILO again. As long as winbloze doesn't do anything stupid (and there is never a guarantee for this ) you should be fine. Many people install multiple distros on the same drive as winbloze.

After you have reinstalled bloze, boot your Slackware from the installer (follow instructions on screen) or use a live CD. You can chroot into your Slackware system and run lilo from a root console.

lilo -v -b /dev/hda (if hda is your drive)

Rand
 
Old 09-18-2006, 09:00 AM   #3
Sugarat
Member
 
Registered: Sep 2003
Posts: 71

Rep: Reputation: 15
I normally boot off a boot CD, chroot into the Slack environment and just run lilo
 
Old 09-18-2006, 09:02 AM   #4
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
thanks for the quick reply guys. i almost thought i was desperate.
 
Old 09-18-2006, 10:44 AM   #5
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
Don't worry, nothing on Slackware is desperate except my problems
 
Old 09-20-2006, 07:03 AM   #6
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
@Randux

hmm unfortunately i still havent fixed my problems. i get these messages after chrooting to /dev/hda2 after booting from the slackware cd:

Warning:'/proc/partitions' does not exist, disk scan bypassed
Warning: Unable to determine video adapter in use in the present system.
Added Windows *
Fatal open /boot/vmlinuz

my partitions are:

/dev/hda1 = winbloze
/dev/hda2 = /
/dev/hda3 = /boot

is there a way to pass a parameter to lilo where it could detect my /boot ?
 
Old 09-20-2006, 07:17 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,384

Rep: Reputation: Disabled
Quote:
Originally Posted by Andriy
/dev/hda3 = /boot
In the chroot, you will have to run
Code:
mount /dev/hda3 /boot
before you run
Code:
lilo
.
The warnings about proc can be overcome by running
Code:
mount -t proc proc /proc
before running lilo, but the warnings are probably harmless anyway.

Eric
 
Old 09-20-2006, 07:20 AM   #8
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
on a side note. i will be installing lilo into /dev/hda1 which is the mbr. will that be a problem reinstalling lilo?
 
Old 09-20-2006, 07:30 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,384

Rep: Reputation: Disabled
I hope you meant you'll be installing lilo into /dev/hda which is the mbr? In that case, there won't be a problem.

Eric
 
Old 09-20-2006, 07:44 AM   #10
Andriy
Member
 
Registered: Dec 2005
Distribution: Slackware, SLAX, Redhat, Fedora
Posts: 133

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by Alien Bob
I hope you meant you'll be installing lilo into /dev/hda which is the mbr? In that case, there won't be a problem.

Eric
yeah. that was a mistake on my part

thank you very much, its working now, with the exception of the graphical part being lost, i think its just a minor problem. thank you very much.
 
  


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
Problem Reinstalling Lilo binarybob0001 Linux - Software 3 01-18-2006 09:15 AM
Reinstalling LILO? moosegoose Slackware 5 11-11-2005 03:35 PM
reinstalling lilo deft Linux - Software 8 04-08-2004 11:03 AM
reinstalling lilo in gentoo? bigjohn Linux - Newbie 11 02-18-2004 07:46 PM
LILO reinstalling help Andrew Hruska Slackware 3 01-05-2004 09:53 PM


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