-
Senior Member
registered user
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
-
Forum Rules

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS
$189.98

Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core
$36.00

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW
$94.99

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W
$29.00

Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W
$16.99

HP Z8 G4 Z8G4 Barebone Workstation w/ Intel Xeon Silver - No HDD No RAM No GPU
$449.99

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Dell PowerEdge R620 2x Xeon E5-2650 2GHz 32GB RAM 250GB SAS SERVER
$85.00