Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 11-05-2005, 08:36 PM   #1 (permalink)
 
Wizard Techie

Join Date: Mar 2004

Posts: 3,545

GameGURU is on a distinguished road

Default Reinstalling LILO?

I just had to reinstall Windows, and my Linux partition is still there. Can I put LILO back on so I can get back into my slackware install?

If so, how?
__________________
15'' Macbook Pro
Intel Core 2 Duo 2.16ghz
x1600 128MB
1GB DDR2 SDRAM
Windows XP/Mac OSX 10.5


No longer a Guru of games...
GameGURU is offline  
Old 11-05-2005, 09:47 PM   #2 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

use boot disk or install disk #1, when it gets to the boot prompt, enter the drive and partition the linux install is on, it will boot to that-------example /dev/hdb1

then run pkgtool as root and select the system scripts/lilo configure option, its still there, just the MBR got overwrote, thats what lilo writes to when you run it

watch what your doing with this, its easy to screw up
horndude is offline  
Old 11-06-2005, 07:57 PM   #3 (permalink)
 
Wizard Techie

Join Date: Mar 2004

Posts: 3,545

GameGURU is on a distinguished road

Default

Ugh, I just deleted the entire LILO package from my system. Is there any way I can reinstall it from the disk rather than reinstall Slackware?

I tried to do it with pkgtool but it wouldnt find LILO at all.
__________________
15'' Macbook Pro
Intel Core 2 Duo 2.16ghz
x1600 128MB
1GB DDR2 SDRAM
Windows XP/Mac OSX 10.5


No longer a Guru of games...
GameGURU is offline  
Old 11-06-2005, 09:26 PM   #4 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

sure, its on the install disk, yes you can find it, mount the install disk and browse thru it, in the top directory or in the slackware directory there is a file list, open that and see what section LILO is in

or go here: http://www.slackware.com, click on packages twice(2 screens) then find it and download it, they have the entire thing piece by piece available, search function as well
horndude is offline  
Old 11-06-2005, 09:29 PM   #5 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

http://slackware.mirrors.tds.net/pub...5.9-i486-2.tgz



try that
horndude is offline  
Old 11-06-2005, 10:52 PM   #6 (permalink)
 
Wizard Techie

Join Date: Mar 2004

Posts: 3,545

GameGURU is on a distinguished road

Default

Alright, I will give the mounting a try tomorrow.

Just to make sure, would I moun the CD the same way I mounted my partition, just change the location to /dev/hdd?
__________________
15'' Macbook Pro
Intel Core 2 Duo 2.16ghz
x1600 128MB
1GB DDR2 SDRAM
Windows XP/Mac OSX 10.5


No longer a Guru of games...
GameGURU is offline  
Old 11-07-2005, 11:10 AM   #7 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

mount /dev/cdrom;cd /mnt/cdrom;ls

that should mount it, change to its directory, and list the contents----cd into slackware/a and then run pkgtool, LILO is in the slackware/a section

you could just type installpkg lilo<tab key> <return/enter> from inside the "a" directory on the cd while logged in as root and it will install it
horndude is offline  
Old 11-07-2005, 08:30 PM   #8 (permalink)
 
Wizard Techie

Join Date: Mar 2004

Posts: 3,545

GameGURU is on a distinguished road

Default

liloconfig wont work, installpkg doesn't woro (apparantly doesn't exist), and it says I cannot cd to the directory...

Even though I mounted the drive.
__________________
15'' Macbook Pro
Intel Core 2 Duo 2.16ghz
x1600 128MB
1GB DDR2 SDRAM
Windows XP/Mac OSX 10.5


No longer a Guru of games...
GameGURU is offline  
Old 11-07-2005, 08:37 PM   #9 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

you do have pkgtools installed dont you?You can check in /var/log/packages

check /etc/fstab and see where the cdrom gets mounted, cd into that directory

you have to be root to do most of this---including package tools, no changes to the system can be done by a regular user

I have no clue why you are having so many problems with this, more info would help I guess

if all else fails, reinstall but dont select reformat the linux partition, just install over it, it wont kill whats already there--------realy not the way to go, thats the typical windows solution, reformat everytime something goes wrong, linux you just fix it and move on
horndude is offline  
Old 11-07-2005, 10:52 PM   #10 (permalink)
 
Wizard Techie

Join Date: Mar 2004

Posts: 3,545

GameGURU is on a distinguished road

Default

Ok, when I mount my DVD drive...it says that I installpkg won't work because it doesn't end in .tgz

So I type installpkg.tgz

Same thing.
__________________
15'' Macbook Pro
Intel Core 2 Duo 2.16ghz
x1600 128MB
1GB DDR2 SDRAM
Windows XP/Mac OSX 10.5


No longer a Guru of games...
GameGURU 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