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

Re: could I install Knoppix with debootstrap?



Check and see if my notes and examples at: http://www.bcgreen.com/knoppix/booting/
help you understand what you need to do any better.

Robert Citek wrote:
>
> Hello Dirk,
>
> On May 10, 2006, at 7:43 PM, Dirk Eddelbuettel wrote:
>> One possibility I like is to copy the .iso file from a Knoppix mirror
>> site,
>> and then setup lilo or grub to boot it.  There are a few HOWTOs that
>> explain
>> it for my Quantian variant of Knoppix at
>> dirk.eddelbuettel.com/quantian.html
>> and there should also be several documents at knoppix.net that
>> explain this.
>>
>> Hope this helps, Dirk
>
> I tried the instructions at your site for using grub to boot the ISO
> image[1].  Unfortunately, the kernel and initrd are for kernel version
> 2.6.7, which did not work for booting Knoppix 4.0.2 with kernel
> 2.6.12.  I also tried following the instructions on the knoppix.net
> site for booting using grup[3].  Unfortunately, that initrd seem to
> assume that the ISO resides on an NTFS filesystem[4].  My guess is
> that magic to make this work is in the initrd.
>
> Do you or anyone else know of an initrd that works with Knoppix's
> Linux kernel v2.6.12?

The stanza that you'll need in GRUB's menu.lst file is:

# boot from copied DVD image... Just use the isolinux binaries
# also sets timezone to Canada/Pacific
# note that you must change BOTH the 'root (hd0,0)' stanza and the 'fromhd=/dev/hda1' phrase of the 'kernel ' stanze
title knoppix dvd image (fixed)
      root (hd0,0)
kernel /boot/isolinux/linux ramdisk_size=100000 init=/etc/init apm=power-off vga=791 nomce quiet BOOT_IMAGE=knoppix tz=Canada/Pacific la
ng=us  fromhd=/dev/hda1
      initrd /boot/isolinux/minirt.gz

The above presumes that you'll be booting from   /dev/hda1  == (hd0,0)
also note that BOTH notations are used between the two lines.
to boot from /dev/hdc5, you would need to use root (hd2.5)
AND
fromhd=/dev/hdc5


--
Stephen Samuel +1(778)861-7641             samnospam@bcgreen.com
          http://www.bcgreen.com/
 Powerful committed communication. Transformation touching
   the jewel within each person and bringing it to light.



Reply to: