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![]()

LENOVO THINKPAD T14 GEN 2i CORE I7-11165G7 2.8GHZ 16GB 512GB SSD WCAM WI1 CORD
$250.00
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$259.00
Lenovo ThinkPad L15 Gen 3 15.6" 32GB, Thunder Black
$282.00
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$259.00
Lenovo - IdeaPad Slim 3 15.6" Full HD Laptop - AMD Ryzen 5 40 2025 - 8GB Memo...
$379.99
Lenovo IdeaPad 5 2-in-1 16" WUXGA Touch Ryzen 7 8845HS 16GB 512GB SSD FPReader
$571.00
LENOVO THINKPAD T14s GEN 2a Ryzen 7 PRO 5850U 1.9GHz 16GB 256GB WIN 11 - TOUCH
$299.95
Lenovo ThinkPad T480 14" HD i5 8250u 16GB 256gb NVME WIFI CAM WIN 11 PRO laptop
$299.99
Windows 11 PRO Laptop Notebook PC Computer, 8GB Ram, Webcam, Wifi, and HDMI
$144.00
Lenovo ThinkPad laptop T490 14" i5 8365U 16GB NEW 256gb SSD WIN 11 pro CAM WIFI
$259.99