-
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
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$230.40
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
Lot SanDisk USB Flash Drive Cruzer Blade Glade Force Ultra Flair Luxe 3.0 3.1
$149.99
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$4.99
64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive
$6.99
2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage New
$10.79
Windows 11 Pro USB Flash Drive With Code
$35.00
MS Office 2021 - 2 PC Full Version Standalone with USB Flash
$89.99
SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot
$239.99