-
Knoppix 7.2 Poorman's Install boot failure
I read the two wiki articles on HD install. The older seems to be somewhat dated, while the newer does not have much detail. So, I improvised. Clearly, I am still doing something wrong. Pointers would be appreciated.
I found that the /tohd=/dev/sda1 cheat code did not populate the C:/KNOPPIX directory on a USB live boot.
I then manually copied the linux (4.3 MB) and minirt.gz (930.8 KB) files to the C:/KNOPPIX directory, along with the background.jpg, knoppix-cheatcodes.txt, both logo files, and index_en.html.
Next, I booted Crunchbang (Debian Wheezy) and prepared a 40_custom file in /etc/grub.d. Contents --
Code:
menuentry "Knoppix 7.2" {
set root=(hd0,1)
linux /KNOPPIX/linux no3d nostartsound tz=America/New_York
initrd /KNOPPIX/minirt.gz
}
I then did "update-grub" and rebooted. I selected the Knoppix line in the grub menu and got lots of boot message lines followed by --
Code:
Searching for Knoppix 7.2
Waiting (USB)...
Could not mount disk to /mnt-system. Starting debugging shell.
Note that I used "/KNOPPIX" rather than "(KNOPPIX" on the minirt.gz line, which differs from the wiki. I believe that the wiki is wrong -- http://knoppix.net/wiki/Category:Har...e_Installation
Code:
menuentry "Knoppix" {
set root=(hd0,1)
linux /KNOPPIX/linux (.. other boot-parameter ..)
initrd (KNOPPIX/minirt.gz
}
-
Solved by directly booting Knoppix .iso file
The reason that the tohd cheatcode did not populate the directory was that I forgot that hda1 was invalid on the target machine and that sda1 was required. Regardless, I could not sort out how to get Grub2 to start a Poorman's install.
However, Grub2 can boot directly from an .iso file. So, I set up an /Iso/Knoppix directory in the root of my Windows XP C: drive -- NTFS formatted. I copied the Knoppix CD .iso file to the /Iso/Knoppix directory.
I then used my Crunchbang Debian Wheezy to configure Grub2. I updated the /etc/grub.d/40_custom file --
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
#
#
menuentry "Knoppix 7.2 CD ISO" {
set iso_path="/Iso/Knoppix/KNOPPIX_V7.2.0CD-2013-06-16-EN.iso"
loopback loop (hd0,msdos1)$iso_path
echo "Loading linux"
linux (loop)/boot/isolinux/linux bootfrom=/dev/sda1$iso_path no3d nostartsound lang=us tz=America/New_York
echo "Loading minirt"
initrd (loop)/boot/isolinux/minirt.gz
}
After running the "update-grub" coomand, rebooting, selecting Knoppix in the Grub2 menu, I was in Knoppix.
Tip: There is some excellent documentation in https://help.ubuntu.com/community/Grub2/ISOBoot
-
Thank you for the two postings and the pointing to my errors within this HowTo
http://knoppix.net/wiki/Category:Har...e_Installation
I've worked over "Poor man's install" and inserted "ISO install to HD"
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
Intel Core i5-12600K 2.80GHz 10-Core Processor LGA 1700 BX8071512600K
$164.99
Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...
$549.99
AMD Ryzen 5 5600X 6-core, 12-Thread Unlocked Desktop CPU w/ Stealth Cooler, Open
$99.00
Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...
$306.99
AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor
$79.00
AMD Ryzen 9 7900x Processor (5.6 GHz, 12 Cores)
$225.00
Intel Core i7-14700KF Unlocked Desktop Processor
$419.99
AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads - 5.60 GHz Max Boo
$449.00
AMD Ryzen 7 5800X Processor (4.7GHz, 8 Cores, Socket AM4)
$150.00
AMD Ryzen 7 3700X (3.6GHz, 8 Cores, Socket AM4) - #214226
$99.99