LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-28-2008, 04:45 AM   #1
montag
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 10

Rep: Reputation: 0
Issue With Lilo I Think


I am attempting to install Backtrack2 but I am having a slight problem. I think installation went well, but the problem is when I restart I get the following message:

"Disk boot failure: insert system disk".

Here is my fdisk -lu (I booted into the LiveCD)
Code:
Device     Boot     Start     End     Blocks     Id     System
/dev/hda1   *        63     112454     56196      83    Linux
/dev/hda2           112455  1124549    506047+    83    Linux swap
/dev/hda3           1124550 156296384  77585917+  83    Linux
My intention was to have /boot on the hda1 partition, swap for hda2, and the rest on hda3. I think everything was installed correctly, although I am not sure how verify this. I cannot just run the installer again because Backtrack does not have a nice installer where I am simply go the Lilo section and install it again. I booted into the LiveCD and tried typing lilo into the terminal to configure it, but it says "Fatal: creat /boot/map~ Read-only file system". I assume this is because I am in the LiveCD and all of the files are mounted as read only (in order to not permanently change the system). What I want to do is set up LILO on the actual hard disk. Any advice on how to do this?
 
Old 02-28-2008, 05:53 AM   #2
j. van helden
LQ Newbie
 
Registered: Sep 2007
Location: The Netherlands
Distribution: Fedora and Ubuntu
Posts: 16

Rep: Reputation: 0
Issue With Lilo I Think

Quote:
Originally Posted by montag View Post
I am attempting to install Backtrack2 but I am having a slight problem. I think installation went well, but the problem is when I restart I get the following message:

"Disk boot failure: insert system disk".

Here is my fdisk -lu (I booted into the LiveCD)
Code:
Device     Boot     Start     End     Blocks     Id     System
/dev/hda1   *        63     112454     56196      83    Linux
/dev/hda2           112455  1124549    506047+    83    Linux swap
/dev/hda3           1124550 156296384  77585917+  83    Linux
My intention was to have /boot on the hda1 partition, swap for hda2, and the rest on hda3. I think everything was installed correctly, although I am not sure how verify this. I cannot just run the installer again because Backtrack does not have a nice installer where I am simply go the Lilo section and install it again. I booted into the LiveCD and tried typing lilo into the terminal to configure it, but it says "Fatal: creat /boot/map~ Read-only file system". I assume this is because I am in the LiveCD and all of the files are mounted as read only (in order to not permanently change the system). What I want to do is set up LILO on the actual hard disk. Any advice on how to do this?
It's a long time ago since I used LILO, but I remember it had to be installed in /dev/hda. This was done directly by installing the distribution. I believe it is called MBR in Windows circles. Nowadays it's grub which is widely used in Linux circles.
I'm sorry I can't be of more help, but maybe it puts you in the right direction.
j.v.helden

Last edited by j. van helden; 02-28-2008 at 06:30 AM. Reason: wrong advice
 
Old 02-28-2008, 06:28 AM   #3
j. van helden
LQ Newbie
 
Registered: Sep 2007
Location: The Netherlands
Distribution: Fedora and Ubuntu
Posts: 16

Rep: Reputation: 0
Issue With Lilo I Think

Quote:
Originally Posted by montag View Post
I am attempting to install Backtrack2 but I am having a slight problem. I think installation went well, but the problem is when I restart I get the following message:

"Disk boot failure: insert system disk".

Here is my fdisk -lu (I booted into the LiveCD)
Code:
Device     Boot     Start     End     Blocks     Id     System
/dev/hda1   *        63     112454     56196      83    Linux
/dev/hda2           112455  1124549    506047+    83    Linux swap
/dev/hda3           1124550 156296384  77585917+  83    Linux
My intention was to have /boot on the hda1 partition, swap for hda2, and the rest on hda3. I think everything was installed correctly, although I am not sure how verify this. I cannot just run the installer again because Backtrack does not have a nice installer where I am simply go the Lilo section and install it again. I booted into the LiveCD and tried typing lilo into the terminal to configure it, but it says "Fatal: creat /boot/map~ Read-only file system". I assume this is because I am in the LiveCD and all of the files are mounted as read only (in order to not permanently change the system). What I want to do is set up LILO on the actual hard disk. Any advice on how to do this?
You need to install Lilo in what is called in Windows circles the MBR. In other words /dev/hda.
 
Old 02-28-2008, 03:55 PM   #4
montag
LQ Newbie
 
Registered: Feb 2008
Distribution: Slackware 12.0
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by j. van helden View Post
You need to install Lilo in what is called in Windows circles the MBR. In other words /dev/hda.
I attempted this with...
Code:
 lilo -M /dev/hda
... but I still get the error that it is a read only file system. I imagine that the LiveCD thinks I want to install it on the Live Distro, but what I really want to do is install it on my actual hard disk. Anyone have any suggestions?
 
Old 02-28-2008, 05:31 PM   #5
CrashedAgain
Member
 
Registered: Jan 2004
Posts: 307

Rep: Reputation: 33
What boot options do you have with your live CD?

I used to use Knoppix live CD, you could boot into the HD install from the live CD with the command
Code:
knoppix root=/dev/hda1 noinitrd ro
If your live CD has some similar capability, perhaps you can boot into the HD install from the live CD.

or perhaps you can boot the live CD then chroot to the HD. (I think this can be done although I'm not really familiar with the chroot command.)

If you can get the system operating from the HD you should then be able to install lilo to /dev/hda.

Another thought....perhaps your live CD is mounting the HD read only. You may just have to remount it rw...
 
  


Reply



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
Lilo issue svar Slackware 2 01-07-2008 03:03 PM
lilo windows issue ronanio Linux - Software 2 02-16-2006 05:54 PM
LILO issue tbollen Slackware - Installation 3 07-22-2005 03:11 AM
NOT SURE; kernel or lilo issue pitt30 Slackware 2 02-23-2005 07:15 PM
LILO issue. DJ Platano Slackware 6 04-03-2004 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:11 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
Open Source Consulting | Domain Registration