-
Junior Member
registered user
Further Install Help Needed
Booting from the Knoppix 3.8.1 CD and supplying the boot-string "acpi=off screen=1280x1024 depth=24", the basic Knoppix desktop appears on my screen.
After remounting / as rw, editing /etc/lilo.conf to point /dev/hda1 and saving, the problems begin!
root@1[knoppix]# mount -n -o remount,rw /
root@1[knoppix]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 3471 15 3456 1% /
/dev/hdd 702738 702738 0 100% /cdrom
/dev/cloop 1939106 1939106 0 100% /KNOPPIX
/ramdisk 401312 68316 332996 18% /ramdisk
/UNIONFS 2340416 2007420 332996 86% /UNIONFS
root@1[knoppix]# jed /etc/lilo.conf
root@1[knoppix]# lilo
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.00.20-ioctl (2005-01-06)(compat) and kernel driver
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/cloop0' -> '/dev/cloop'
Fatal: Trying to map files from unnamed device 0x000e (NFS/RAID mirror down ?)
Something is either wrong with remount / (root) as read-write or my /etc/lilo.conf file. How can I open the lilo.conf file which was installed on /hda1? This new virtual filesystem is difficult to learn. Any and all help is most appreciated!
Bob
-
Senior Member
registered user
Here's Mister Ed's handy-dandy 8-step procedure for fixing LILO after booting from CD or another partition - he's had to do it many times! 
[1] If you're only booting from CD (or whatever) just to fix LILO, use the cheatcode that puts you in run level 2 (the command line) - that saves you a little frustration while waiting for the GUI to load - so at the CD prompt you'd type knoppix 2.
[2] When you mount hda1 you have to include the option -o dev.
[3] Now use the change-root command to be in the hda1 environment: # chroot /mnt/hda1.
[4] Edit /etc/lilo.conf - just like that, not /mnt/hda1/etc/lilo.conf - and you'll be working on hda1's lilo.conf rather than the one that the CD loaded into RAM.
[5] If you have other bootable Linux partitions, you mount them within the chroot environment, not before - so you can make this step [4] and do editing as step [5], but the other bootable partitions have to be mounted after step [3] and before step [6].
[6] Now run lilo to write the changes to the boot sector.
[7] Leave the chroot environment with # exit or # <CTRL>D.
[8] Reboot with your favorite command, # reboot or # init 6 or # shutdown -r now.
Okay? 
-- Ed
Similar Threads
-
By orbitbsl in forum General Support
Replies: 11
Last Post: 05-27-2006, 07:29 AM
-
By mostafa_dahir in forum Laptops
Replies: 1
Last Post: 04-11-2006, 05:29 PM
-
By tilleyrw in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 04-30-2005, 12:26 PM
-
By Cuddles in forum General Support
Replies: 4
Last Post: 12-22-2003, 04:40 PM
-
By aay in forum The Lounge
Replies: 6
Last Post: 05-23-2003, 07:27 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$169.99

Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor
$175.00

HP EliteBook 840 G5 Laptop Intel Core i5 7200U 8GB RAM – No HDD
$64.00

AMD Ryzen 7 7700X 8-Core, 16-Thread Unlocked Desktop Processor
$250.00

AMD RYZEN 7 9800X3D 8-Core, 16-Thread Desktop Processor
$399.00

AMD Ryzen 5 PRO 4650GE 100-000000153 6-Core 3.30GHz 8MB AM4 CPU Processor
$59.99

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011
$30.00

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor
$245.99

Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11
$250.00

Dell T7810 Workstation 8-Core 2.40GHz E5-2630 v3 No RAM GPU HDD OS
$259.98