LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-30-2004, 04:18 PM   #1
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 8

Rep: Reputation: 0
How to boot lost linux installation


I have a multi-boot system (windows xp and Slackware 9.0). I re-installed windows xp yesterday, which, I think caused everything on the MBR to be deleted. So now I don't get the LILO boot screen when I power up my computer, which means that right now I'm not able to boot up slackware.

How do I install LILO to be able to boot up slackware? I still have the Slackware 9.0 bootdisk that I created when I installed Slackware.


Thanks in advance for your answers.

Last edited by tacticsWiz; 09-30-2004 at 04:28 PM.
 
Old 09-30-2004, 04:27 PM   #2
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Rep: Reputation: 30
Probably there are better solutions, but i am a newbie too and this what i do to restore Lilo.
Insert Slackware CD1 and at boot type vmlinuz root=dev/hdax no initrd ro ( x is the number of your linux partition)
Than reinstall lilo.
Hope this help.
Happy Slack.
 
Old 09-30-2004, 04:58 PM   #3
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
that didn't work. I got this error: could not find kernel image: vmlinuz
 
Old 09-30-2004, 05:08 PM   #4
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
I'm sure I can boot up linux slackware using my slackware 9.0 bootdisk but I don't know how. Help me out please.
 
Old 09-30-2004, 05:36 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Use the 'root=/dev/<your linux partition>' with the floppy.
 
Old 09-30-2004, 05:59 PM   #6
tacticsWiz
LQ Newbie
 
Registered: Sep 2004
Location: USA
Distribution: Slackware 9.0
Posts: 8

Original Poster
Rep: Reputation: 0
I tried 'vmlinuz root=/dev/hda1 no initrd ro' with the floppy and while it was loading I got this error: Kernel panic: VFS: Unable to mount root fs on 03:01
 
Old 09-30-2004, 06:48 PM   #7
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Get hold of a liveCD such as Knoppix.

Put the cd in the drive, then reboot.

When Knoppix has loaded up, open a terminal and do an `su -` to root (AFAIR there's no password).

Then mount the partition where your Slackware install resides, i.e.
`mount /dev/hda5 /mnt/temp'

(You may have to create /mnt/temp, like so: `mkdir /mnt/temp`)

Then chroot into the mounted filesystem, and ensure you are working with the Slackware environment variables:

`chroot /mnt/temp && source /etc/profile`

Then run LILO:

`lilo`

and it should reinstall itself to the MBR.
 
  


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
Lost Linux boot and boot floppy doesn't work marquedios Linux - Newbie 9 05-22-2005 03:21 PM
formatted my c:, linux boot data lost, how could i recover sas_tvr Linux - General 1 01-18-2005 07:56 AM
help GRUB is lost! I need to boot Linux from HardDisk varunnarang Linux - Software 9 11-20-2004 12:19 PM
Reinstalled Windows 98 lost linux dual boot llefty Linux - Newbie 0 08-01-2003 01:23 AM
How can I boot up Linux when lilo lost by winxp jkmin Linux - Newbie 5 02-12-2003 02:35 PM


All times are GMT -5. The time now is 12:43 AM.

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