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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99
MSI MAG B760 TOMAHAWK WIFI Intel LGA1700 ATX DDR5 WiFi 6E 2.5G
$125.00
Gigabyte B365M AORUS ELITE Motherboard Intel B365 Micro ATX LGA 1151 DDR4 DIMM
$84.99
ASUS PRIME H410M-K LGA 1200 Intel 10th Gen H410 DDR4 USB3.2 Motherboard M-ATX
$59.99
GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99
ASUS H110I-PLUS Motherboard LGA1151 w/ I5-7400 CPU, 8GB, Heatsink & I/O Shield
$60.00
ASRock B550M Phantom Gaming 4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$81.99
ASUS Motherboard PRIME B250M-C Intel G4560+ LGA 1151 DDR4 mATX + Fan +I/O Shield
$49.95
GIGABYTE H610M S2H V2 Motherboard, Supports 14th/13th/12th Gen Intel Core i5 i7
$69.59
ASUS B650E MAX GAMING WIFI AM5 Motherboard PCIe 5.0 DDR5
$125.00