Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-17-2004, 10:45 AM   #1
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 54
Knoppix as rescue cd problem

I've recently updated a laptop and ran into a spot bother with lilo. On boot it gets as far LI.
"No biggy" I think, I'm no stranger to lilo.
but not having any boot floppies handy and the only CD this laptop wants to boot off is my knoppix disc starts to cut down my options.
When I mount the harddisk (read/wright) under knoppix and attemp to run lilo as root I get a permission denied!

Why won't knoppix let me write to my disk?

I guess this is a good for a demo CD but I need to use it as a rescue disk.
I've checked all the device permissions and it all looks writable.
What am I missing?
Old 02-17-2004, 11:44 AM   #2
Senior Member
Registered: Oct 2003
Posts: 2,564

Rep: Reputation: 214Reputation: 214Reputation: 214
Are you using chroot, i.e.:

# chroot <mount point for partition where lilo is located>
# /sbin/lilo -v

Actually, I've noticed this not working as well, even in a chroot environment in knoppix 3.3 but it used to work fine in 3.2. You could try the same trick with the partimage rescue cd:

Other things to try with knoppix 3.3 - setting a root password in a terminal(Ctrl-Alt-F1), su to root with new password, unmounting then remounting the relevant partition and then do the chroot thing.
Old 02-17-2004, 04:15 PM   #3
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 30

Rep: Reputation: 15
Try the SLAX live cd version of slackware. I used it many times when knoppix wouldent work quite right : ).
Old 02-17-2004, 04:31 PM   #4
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Original Poster
Rep: Reputation: 54
Well I didn't figure out how to get knoppix to write to the drive but downloading a resuce floppy was no problem.
lilo ran fine - I don't know why the upgrade failed in the first instance.
Old 02-17-2004, 04:32 PM   #5
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Original Poster
Rep: Reputation: 54
oh one more thing... lilo has the -r switch to do the chroot bit.


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
Mount RAID on Knoppix/rescue Windows - help!! aepereira Linux - Newbie 9 05-23-2006 10:15 PM
Problem in Linux Rescue p_test Linux - Enterprise 2 08-26-2005 07:23 AM
Use rescue disk to fix x problem? General Dude Linux - Newbie 2 08-14-2003 12:34 PM
partition problem ; knoppix to the rescue jrpretz Linux - General 1 07-25-2003 05:28 AM
Rescue Problem. Furtzi Linux - Newbie 2 03-04-2002 09:36 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration