[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

booting a Knoppix ISO from an ext2/3 HD partition (was: could I install Knoppix with debootstrap?)




(changed the subject since this isn't really about debootstrap anymore.)

On May 17, 2006, at 9:17 PM, Gilles van Ruymbeke wrote:

...
title Knoppix 4.0.2 CD&DVD Patch Update 2005-09-23 from ISO
kernel (hd0,0)/boot/linux ramdisk_size=100000 init=/etc/init lang=us
apm=power-off vga=791 nomce quiet bootfrom=/dev/hda1/k402.iso noprompt
dma screen=1600x1200 lang=us noeject 3
initrd (hd0,0)/boot/minirt_ntfs.gz
boot
...
root@0[~]# cat /proc/cmdline
ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791
initrd=minirt.gz nomce quiet BOOT_IMAGE=knoppix BOOT_IMAGE=linux
bootfrom=/dev/hda1/k402.iso 3
...
Am I overlooking something obvious? Any pointers would be greatly
appreciated.
...
==> How can you get "initrd=minirt.gz" from the /proc/cmdline when you
have "initrd (hd0,0)/boot/minirt_ntfs.gz" in your grub menu.lst ?
Are you sure you are using the minirt_ntfs.gz file ?

I was afraid that I might not have explained that well. I first booted from the Knoppix CD and setup the hard drive, installing grub as the boot manager. I then tried to boot from the HDD which did not work. So, I again booted from the CD, specifying the ISO image on the drive with the bootfrom= cheatcode, and displayed the contents of the harddrive as well as the contents of the isolinux command line.

The purpose was to demonstrate the following:

1) the ISO image on the drive does work
2) the bootfrom= cheatcode is identical in both the grub stanza and when booting from the CD 3) the references to the kernel and initrd files in the menu.lst file point to the correct files on the hard drive
4) partition /dev/hda1 was an ext3 partition and not NTFS

If someone can successfully boot a Knoppix ISO from a hard drive partition formatted as ext2/3 using grub, can you please run the following code and e-mail me the contents of output.txt:

( set -x
part=/mnt/hda1
find $part | xargs ls -lad
find $part -name 'menu.lst' | xargs tail +1
df -HTl $part
cat /proc/cmdline
uname -a
cat /etc/knoppix-version
) >& output.txt

You'd have to adjust part= to point to the partition containing the ISO.

Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software.  Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent



Reply to: