Results 1 to 5 of 5

Thread: Unmodified Knoppix 6.2.1 on GRUB-booted external Unix USB device, from scratch

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802

    6.4.4 update, same POG (plain old grub) I believe

    From bad experiences (not mine) with grub not being able to run on corrupted journaling file systems, I have come to the conclusion that whenever possible, I should heed the old advice and create a separate boot partition, also on usb-sticks etc.

    If we place that partition at the "end" of the stick, it is not disturbing much, so here's what I do:

    1. I typically create a N-0.3 GB first partition, and a 0.3 GB boot-partition on the stick.

    2. Format the boot-partition with ext2, the other with anything usable.

    3. Mount the boot partition.

    4. Next, install grub on the MBR of the stick and the boot-partition
    Code:
    grub-install --root-directory=/media/sdb2 /dev/sdb
    5. Create a boot subdirectory, and copy over the Knoppix boot files from /mnt-system/boot/syslinux - I assume you are running from a version with correct boot-directory:
    Code:
    mkdir /media/sdb2/boot/knx644
    rsync -ax /mnt-system/boot/syslinux/ /media/sdb2/boot/knx644
    6. Create a suitable menu.lst file with boot entries first for the stick, e.g.

    Code:
    default=1
    timeout=10
    
    
    title Knoppix 6.4.4 all arch
          kernel (hd0,1)/boot/knx644/linux ramdisk_size=100000 lang=en keyboard=no fromhd=/dev/sdb1 nosound vt.default_utf8=0 apm=power-off initrd=minirt.gz nomce libata.force=noncq loglevel=1 tz=localtime
          initrd (hd0,1)/boot/knx644/minirt.gz
    
    title Knoppix 6.4.4 64 bits
          kernel (hd0,1)/boot/knx644/linux64 ramdisk_size=100000 lang=en keyboard=no fromhd=/dev/sdb1 nosound vt.default_utf8=0 apm=power-off initrd=minirt.gz nomce libata.force=noncq loglevel=1 tz=localtime
          initrd (hd0,1)/boot/knx644/minirt.gz
    Note that the correct init parameters may vary with release, I was quite confused when booting 6.4.4 with the seemingly innocent 6.2.1 init line gave different strange errors on booting, leading me to suspect file corruption. Copy the actual APPEND line from syslinux.cfg and edit.

    One nice thing with this setup, is that you don't have to reinstall the booting machinery for booting other OS versions, devices etc. Just add subdirectories under /boot with the correct files (when necessary), and edit the menu. Just varying minirt.gz (one per directory) is a simple and safe way of experimenting with different system setups.

    AFAIK, this simple editing is not easy with grub2. So I can't regard that version as neither grand nor unified. But bootloader, maybe yes.
    Last edited by Capricorny; 06-10-2011 at 02:31 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11 picture

Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11

$119.49



Windows 11 Home Mini PC Intel N4100 Quad Core 2.7GHz 8GB RAM DDR4 256GB SSD picture

Windows 11 Home Mini PC Intel N4100 Quad Core 2.7GHz 8GB RAM DDR4 256GB SSD

$89.59



HP TP01-3037C Desktop Intel Core i5-12400 Intel UHD 730, 8GB RAM 512GB SSD W11H picture

HP TP01-3037C Desktop Intel Core i5-12400 Intel UHD 730, 8GB RAM 512GB SSD W11H

$319.00



HP Z420 Workstation Xeon E5-2690 v2 3ghz 10-Cores 64gb  240gb SSD  1TB  Win10 picture

HP Z420 Workstation Xeon E5-2690 v2 3ghz 10-Cores 64gb 240gb SSD 1TB Win10

$199.99



Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5... picture

Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...

$283.99



AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked Desktop Processor Openbox picture

AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked Desktop Processor Openbox

$164.98



Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor picture

Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor

$24.00



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



HP Desktop i5 OR I7 Computer Mini PC Up To 32GB RAM 2TB SSD Windows 10 Pro WiFi picture

HP Desktop i5 OR I7 Computer Mini PC Up To 32GB RAM 2TB SSD Windows 10 Pro WiFi

$264.00



Dell 15.6

Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11

$523.00