What command are you using it should be something like sudo chroot /mnt/hda7 /sbin/lilo -v after having mounted the /dev/hda7 as /mnt/hda7.Originally Posted by Superstoned
hi! I just blew up my mbr, and I want to use knoppix to reinstall lilo. but I get loads of permission denied and unable to open-errors. I can mount /dev/hda7, (my reiserfs linux root partition) but cant change hda's mbr... help??? how can I clean the mbr, and install a new one, using knoppix?
btw: using lilo, it tells me: Fatal: unable to open /dev/hda: permission denied.
all disks are set writable...
please help!
What command are you using it should be something like sudo chroot /mnt/hda7 /sbin/lilo -v after having mounted the /dev/hda7 as /mnt/hda7.Originally Posted by Superstoned
I'll try your command... (but I worked from a root shell, so sudo shouldnt be needed?)
yep yep: (using your command, all disks writable and mounted)
Reading boot sector from /dev/hda
Fatal: open /dev/hda: Permission denied
btw tnx for the reply![]()
liloconf gives almost the same error:
(...)
Checking your /etc/lilo.conf for incompatible options...
Install a boot block using your current LILO configuration? [Yes] y
(...)
Running lilo...
(...)
Reading boot sector from /dev/hda
Fatal: open /dev/hda: Permission denied
ERROR: correct /etc/lilo.conf manually and rerun /sbin/lilo
(i use the lilo.conf that still was on my hd, which should work!?!?)
I've just tried lilo -M /dev/hda /mnt/hda7/etc/lilo.conf
and this worked - at least, lilo told me: MBR updated. I hope this is enough... I'm goin' to reboot, hope it works. If not, I first get some sleep, work tomorow, and I'll be back next night...
tnx for reply's
sorry, just saw that.Originally Posted by Superstoned
The trick is that things are mounted with nodev as default ...
so you have to do as root:
mount /dev/hdaX /mnt/hdaX
chroot /mnt/hdaX
lilo
And it does work.
Did not only me cost me nerves to find this out.
cu
Fabian
tnx! pitty I just formatted the disk, and am reinstalling... btw the new knoppix-iso is still giving troubles, a friend of mine told me he had to convert the file to a .bin, then back to iso - before he was able to burn it. there IS something wrong with the iso...
hi superstoned
check this http://www.knoppix.net/forum/viewtop...?p=22656#22656
I hope they see there is something wrong.
or else we have a very strange problem which can fake md5![]()

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99
AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$189.00
Intel Core i7-11700T 1.4GHz Processor 8-Core Socket LGA1200 SRKNT
$129.95
SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD
$229.99
HP ProDesk 400 G5 Desktop Mini Intel Core i5-9500T Gen 8GB DDR4 As-Is For Parts
$49.99
AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW
$399.00
Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good
$464.99
Dell OptiPlex 3070 SFF Desktop Intel Core i3 9th gen 8gb RAM 128gb NVMe win11pro
$79.99
Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11
$250.00
DELL OPTIPLEX 3280 21.5" AIO Core i5 10500T 8GB 256GB NVMe Windows 11 -NO STAND
$199.99