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

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU
$7.95
HP Z440 Workstation Windows 11 Pro Computer XEON 16GB 500GB SSD 2TB HDD M2000
$200.00
HPE DL360 G10 CTO Server W/ 2x800W 1x LP PCIE RISER 1xFLEXROM 2XHIGH PERF FANS
$200.00
HP Z420 Tower Workstation Xeon E5-1620 3.60GHz, 4GB Ram, NO HDD, NO OS
$140.00
HP Z2 Mini G5 Workstation Xeon W-1270P 3.8GHz/16GB/1TB SSD/ NVIDIA T1000/W11 Pro
$349.00
Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS
$127.54
Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49
Dell Precision T7820 2x Xeon Gold 6130 2.10GHz 950W No RAM GPU HDD 4x SATA
$374.48
NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11
$450.00
DELL Precision T3420 | Xeon 1240v6 | 525GB SSD |16GB RAM |Nvidia GPU |Win11
$149.00