-
Senior Member
registered user
The reason I don't use that approach myself, is that it doesn't scale well, and with rather small adjustments, it becomes a very general booting method.
First, for defensive practice, I try to avoid booting from a partition in much use, like where /mnt-system will usually be mounted. Then the booting partition is not mounted during usual system use, and chances for corruption or occasional overwriting are small. I have experienced both enough times to say it pays to be defensive.
Second, I use one boot subdirectory per OS release/booting variant. This is the boot directory on the pc I post from:
Code:
knoppix@Microknoppix:~$ ls -alt /media/sda6/boot
total 76
drwxrwxrwx 2 knoppix knoppix 4096 Jan 5 13:31 grub
drwxr-xr-x 2 root root 4096 Jan 5 13:16 knx705
drwxr-xr-x 19 root root 4096 Jan 5 13:15 .
drwxr-xr-x 2 root root 4096 Aug 1 10:39 ubu1204
drwxr-xr-x 4 root root 4096 Aug 1 10:36 ..
drwxrwxrwx 5 knoppix knoppix 4096 Jul 19 01:29 ubu12
drwxrwxrwx 5 knoppix knoppix 4096 Jul 4 2012 knx703
drwxrwxrwx 2 knoppix knoppix 4096 Jun 21 2012 knx702
drwxrwxrwx 4 knoppix knoppix 4096 Jun 12 2012 knx644_64a
drwxrwxrwx 3 knoppix knoppix 4096 Jun 11 2012 debootstrap_64
drwxrwxrwx 3 knoppix knoppix 4096 Jun 10 2012 knx644_64sq
drwxrwxrwx 4 knoppix knoppix 4096 Jun 8 2012 deb605
drwxrwxrwx 3 knoppix knoppix 4096 Jun 8 2012 knx702_0wn
drwxrwxrwx 2 knoppix knoppix 4096 Dec 27 2011 knx671
drwxrwxrwx 2 knoppix knoppix 4096 Dec 27 2011 syslinux
drwxrwxrwx 2 knoppix knoppix 4096 Aug 10 2011 knx670_64
drwxrwxrwx 2 knoppix knoppix 4096 Aug 10 2011 knx670
drwxrwxrwx 2 knoppix knoppix 4096 Jul 24 2011 knx644
drwxrwxrwx 3 knoppix knoppix 4096 Jul 24 2011 knx644_sq
There are booting data for Knoppixes from 6.4.4 to 7.0.5 plus Debian, Ubuntu etc.
Third, I use different entries in boot/grub/menu.lst for differentiation - always at least two per Knoppix release for example, using 32 and 64 bits kernels, respctively.
My 7.0.5 entries are currently as follows, rather elementary:
Code:
title Knoppix 7.0.5 64 bits sda1 cloop
kernel (hd0,5)/boot/knx705/linux64 fromhd=/dev/sda1 knoppix_dir=KNOPPIX705 nosound keyboard=no ramdisk_size=100000 lang=no apm=power-off initrd=minirt_sq_1.gz nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1 tz=localtime
initrd (hd0,5)/boot/knx705/minirt.gz
title Knoppix 7.0.5 32 bits sda1 cloop
kernel (hd0,5)/boot/knx705/linux fromhd=/dev/sda1 knoppix_dir=KNOPPIX705 nosound keyboard=no ramdisk_size=100000 lang=no apm=power-off initrd=minirt_sq_1.gz nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1 tz=localtime
initrd (hd0,5)/boot/knx705/minirt.gz
Here are the entries for Ubuntu 64 bits, Ubuntu 32 bits and Win 7. Lazily, I use booting information off the install partitions - better copy them to subdirectories as shown above.
Code:
title Ubuntu 64 bits HD install sda6
root(hd0,7)
kernel (hd0,7)/boot/vmlinuz-3.2.0-23-generic root=UUID=e71d3494-e9d5-4b23-908f-8acefde096e8 ro quiet splash
initrd (hd0,7)/boot/initrd.img-3.2.0-23-generic
title Ubuntu 32 bits HD install sda7
root(hd0,6)
kernel (hd0,6)/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=13cbadae-eac2-413a-bd02-0e1dc9f1ee4d ro quiet splash
initrd (hd0,6)/boot/initrd.img-3.2.0-23-generic-pae
title Windows 7
rootnoverify (hd0,1)
makeactive
chainloader +1
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

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w
$538.88

Dell PowerEdge R740xd Dual Intel Silver 4116 @2.1GHz 32GB HBA330 24Bay Server
$525.00

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

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w
$218.88

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$484.99

Dell Poweredge R720xd 2x Xeon E5-2660 2.2GHz 16-Cores 64gb H710 26x Trays
$364.99

NEW DELL TRUSTED PLATFORM MODULE TPM 2.0 POWEREDGE R730 SERVER M48YR RXW6R K98XH
$225.00