-
bootfrom cheatcode doesn't work so use tohd and fromhd cheatcodes instead
Hi all,
My favorite cheatcode "bootfrom" which worked so well in knoppix 5 series just doesn't work in knoppix 6 versions. I struggled mightily figuring that out. If you can make the "bootfrom" cheatcode work with knoppix 6, I'd sure like to hear how you did it.
However, an alternative method which works just as well is to use the "tohd" and "fromhd" cheatcodes. You just boot up the knoppix cd and type
"knoppix tohd=/dev/sda1"
if you want to copy the knoppix disc to /dev/sda1 and knoppix will copy itself to that partition and use that instead of going to the cd-rom disc. Note that knoppix will create a "Knoppix" directory on that partition.
Once you've done the tohd, the next time you boot you can use "fromhd" and you won't have to redo the copy.
"knoppix fromhd=/dev/sda1"
I've actually come to like this way, as I don't have to mess around creating an *.iso disc image for the "bootfrom" parameter.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
don999
My favorite cheatcode "bootfrom" which worked so well in knoppix 5 series just doesn't work in knoppix 6 versions. ... If you can make the "bootfrom" cheatcode work with knoppix 6, I'd sure like to hear how you did it.
Oh. Works for me:
Code:
knoppix@Microknoppix:~$ cat /proc/cmdline
ramdisk_size=100000 lang=en vt.default_utf8=0 apm=power-off video=vga16fb:off
initrd=minirt.gz nomce loglevel=1 tz=localtime fromhd=/dev/sdc1 BOOT_IMAGE=linux
That's with Knoppix 6.4.3 (EN) DVD. I know it works 'cos the boot partition (/dev/sda1) doesn't have an iso image on it.
-
Looks like bootfrom= went the same way as home= (not supported, no reference at all in /init anymore).
There has been an admission that the cheat code documentation was not updated correctly for 6.0.
It looks to me like
Code:
bootfrom=/dev/sdx1/somewhere/some.iso
could be done with:
Code:
fromhd=/dev/sdx1 knoppix_dir=somewhere knoppix_name=some.iso
but it hardly seems worthwhile.
-
Senior Member
registered user
bootfrom did not do the same thing as tohd, fromhd
bootfrom was used to boot from an iso file.
You cannot point to an iso file with knoppix_name and then use fromhd. You point to the KNOPPIX file.
The original poster must have started from an already burnt cd with knoppix files on it, rather than an iso file. How else to explain his preference to fromhd because he does not have to create an iso?
The whole point of bootfrom was to allow users to download an iso and boot from it, perhaps because they did not have CD burning capabilities to create a Knoppix CD. While I do not use this method a lot of people seem to ask for it.
If 'bootfrom' HAS gone the way of 'home' Klaus has been very lax in keeping the documentation correct. He has updated the date on the cheatcode file which gives the impression that it is current - but you cannot rely on the contents now.
-
Senior Member
registered user
@ ICPUG
May fromhd apply from a usb device as well as an hdd?
I might like to use fromhd=/dev/sdb1 where sdb1 is an SD Card (LiveUSB).
Thanks.
-
Senior Member
registered user
Utu,
You got an affirmative answer to this query on another thread - where I have answered your other question!
Although I have not done it across devices I see no problem with using fromhd this way as long as the device is recognisable at boot time, when it is looking for sdb. I have used fromhd to specify different partitions without problem.
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 OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture](/store/img/g/2mYAAOSwmulmdXzA/s-l225/Dell-OptiPlex-3060-MICRO-DESKTOP-PC-COMPUTER-I5-8T.jpg)
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$295.00
![Lenovo ThinkCentre M920z 24](/store/img/g/G0oAAOSwS-5mdHRx/s-l225/Lenovo-ThinkCentre-M920z-24-FHD-Core-i5-8500-8th-G.jpg)
Lenovo ThinkCentre M920z 24" FHD Core i5-8500 8th Gen 3.00GHz 8GB 256GB SSD W11P
$215.00
![Dell 15.6](/store/img/g/9x4AAOSwVAlmICu5/s-l225/Dell-15-6-NVIDIA-Gaming-Laptop-Intel-Quad-Core-i7-.jpg)
Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11
$446.00
![Dell Latitude 7490 Laptop - Intel Core i7 - 8GB RAM - 256GB SSD - Windows 11 Pro picture](/store/img/g/l1EAAOSwijJmVUjZ/s-l225/Dell-Latitude-7490-Laptop-Intel-Core-i7-8GB-RAM-25.jpg)
Dell Latitude 7490 Laptop - Intel Core i7 - 8GB RAM - 256GB SSD - Windows 11 Pro
$319.99
![Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor picture](/store/img/g/rfsAAOSwEFBma4Yr/s-l225/Intel-Xeon-E5-2667-V2-LGA-2011-3-3GHz-8-Core-130W-.jpg)
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$14.99
![EXCELLENT Apple 2020/2022 iMac 27 Inch 5K 8-CORE i7 1TB SSD 64GB RAM 5500 XT PRO picture](/store/img/g/DJMAAOSwg7Rmey2p/s-l225/EXCELLENT-Apple-2020-2022-iMac-27-Inch-5K-8-CORE-i.jpg)
EXCELLENT Apple 2020/2022 iMac 27 Inch 5K 8-CORE i7 1TB SSD 64GB RAM 5500 XT PRO
$1695.00
![AMD Ryzen 7 5800X3D Processor (3.4GHz, 8 Cores, AM4) - 100-100000651WOF picture](/store/img/g/gVAAAOSwrltmdgVo/s-l225/AMD-Ryzen-7-5800X3D-Processor-3-4GHz-8-Cores-AM4-1.jpg)
AMD Ryzen 7 5800X3D Processor (3.4GHz, 8 Cores, AM4) - 100-100000651WOF
$259.99
![AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture](/store/img/g/3isAAOSw~lNmI3aE/s-l225/AMD-Ryzen-7-7800X3D-8-Core-16-Thread-4-2-GHz-5-0-G.jpg)
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
![CHUWI CoreBox X Windows 10 Mini PC Intel Core i7 Desktop 8+256GB SSD 4K Decoding picture](/store/img/g/7GYAAOSw4tBmTcur/s-l225/CHUWI-CoreBox-X-Windows-10-Mini-PC-Intel-Core-i7-D.jpg)
CHUWI CoreBox X Windows 10 Mini PC Intel Core i7 Desktop 8+256GB SSD 4K Decoding
$130.49
![Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H picture](/store/img/g/1UcAAOSwYS9lXgtq/s-l225/Lenovo-IdeaCentre-3-07IRB8-Desktop-Intel-Core-i5-1.jpg)
Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H
$349.99