Re: booting a Knoppix ISO from an ext2/3 HD partition (was: could I install Knoppix with debootstrap?)
--- Robert Citek <rwcitek@alum.calberkeley.org> wrote:
> 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
>
Please find below the content of my output.txt:
+ part=/mnt/hda1
+ find /mnt/hda1
+ xargs ls -lad
drwxr-xr-x 2 root root 1024 May 18 09:18 /mnt/hda1
+ find /mnt/hda1 -name menu.lst
+ xargs tail +1
+ df -HTl /mnt/hda1
Filesystem Type Size Used Avail Use% Mounted on
/dev/root ext2 6.1M 313k 5.8M 6% /
+ mount
+ grep -i iso9
/dev/cloop on /KNOPPIX type iso9660 (ro)
/dev/cloop2 on /KNOPPIX2 type iso9660 (ro)
/cdrom2.loop/boot/knoppix.402/*.iso on /cdrom/ type iso9660
(ro,loop=/dev/loop0)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/dev/cloop2 on /KNOPPIX2 type iso9660 (ro)
+ cat /proc/cmdline
ramdisk_size=100000 init=/etc/init
bootfrom=/dev/sda1/boot/knoppix.402/*.iso vga=795 noprompt
apm=power-off nomce quiet lang=us screen=1600x1200
+ uname -a
Linux Knoppix 2.6.12 #2 SMP Tue Aug 9 23:20:52 CEST 2005 i686 GNU/Linux
+ cat /etc/knoppix-version
4.0.2 2005-09-23
(my disk is a sata and partition ntfs and seen as /dev/sda1)
My menu.lst is as follow:
title Knoppix 4.02 from sda1 ISO
kernel (hd0,0)/boot/knoppix.402/linux ramdisk_size=100000
init=/etc/init bootfrom=/dev/sda1/boot/knoppix.402/*.iso vga=791
noprompt apm=power-off nomce quiet lang=us screen=1600x1200
initrd (hd0,0)/boot/knoppix.402/minirt_usb4.gz
boot
This is using my latest minirt for Knoppix 4.02: minirt_usb4.gz, cf:
http://s94002264.onlinehome.us/grub/grubh.zip
Besides, ntfs, fat, reiser, usb2, static/dynamic hostname, and bug
fixes, it also includes some search function in the case of the iso
path being setup for the wrong disk/partition.
Hope this helps,
Gilles van Ruymbeke
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Reply to: