-
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
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$79.99
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
MSI A320M-A PRO AM4 AMD A320 USB3.2 Gen1 Micro-ATX Motherboard
$46.99
ASUS Prime Q270M-C LGA1151 DP HDMI VGA SATA 6GB/s USB 3.0 MicroATX Motherboard
$37.99
X99 MR9D Motherboard LGA 2011-3 DDR4 ECC/Desktop RAM WIFI/SATA/NVME M.2 SATA 3.0
$79.98
ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O
$99.00
ASUS TUF Gaming B550-PLUS WiFi II AMD AM4 ATX Motherboard
$114.99
ASUS STRIX X299-E GAMING ATX Motherboard With I/O Shield & Intel Core i7 CPU 4.3
$179.00