Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: using knoppix tohd=/dev/sda1 boot option when sda1 is an external USB HD

  1. #1
    Member registered user
    Join Date
    Feb 2008
    Posts
    31

    using knoppix tohd=/dev/sda1 boot option when sda1 is an external USB HD

    knoppix tohd=/dev/sda1 boot option does not seem to work when /dev/sda1 is an external USB hard drive. It this the expected behavior?

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    'Are you sure, your external drive is '/dev/sda' and the partition is '/dev/sda1'? Please boot Knoppix again without the cheatcode "tohd=/dev/sda1" an tell us the output from
    Code:
    blkid
    and
    Code:
    fdisk -l

  3. #3
    Member registered user
    Join Date
    Feb 2008
    Posts
    31
    I've already checked this, but I'll try again after the machine finishes a 24-hour memory check. What log files should I look at then? The machine is old and may have intractable hardware problems, but I can use it a little longer if I can get Knoppix running with persistence. It boots reliably only from the DVD drive. (The external USB drive is the only other functioning drive on the machine, and it comes up as sda.)

  4. #4
    Member registered user
    Join Date
    Feb 2008
    Posts
    31
    Tried again. The USBHDD is installed as sda. There is nothing obvious to the untutored eye in the dmesg methods that describe detecting and installing sda. There seem to be no messaged from Knoppix in /var/log. But the files are simply not copied to the USBHDD with option tohd.

    If tohd is known to work for USB hard drives, then I will simply write this off to hardware failure in an old computer.

  5. #5
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    What you want to install is the "Poor man's install" as I described it at
    http://knoppix.net/wiki/Category:Har...e_Installation
    and I never heard from other peoples about problems using an USB drive for this method.

    But it's a little tricky to boot this installaton. If your BIOS can boot with the USB drive, why not use "Flash disk Install to HD" or "HD Install"?

  6. #6
    Member registered user
    Join Date
    Feb 2008
    Posts
    31
    If your BIOS can boot with the USB drive, why not use "Flash disk Install to HD" or "HD Install"?

    That works fine when it works, but more often than not, I get messages saying that the boot medium is defective (though the flash drive works consistently on another machine, and I get the same messages about defective medium using a perfectly good Puppy Linux bootable flash drive). The capability to boot from USB was added only in the final upgrade version for that BIOS before it was discontinued, and so any bugs would have gone unfixed. I can only boot reliably from the DVD drive, so it would be nice to boot from the DVD and then transfer control to the external drive. But I guess that box is headed for the junk heap.

  7. #7
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    You can create a Knoppix boot-CD or download a bootonly CD from the Knoppix mirrors.

  8. #8
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93
    Are you sure you mean tohd and not fromhd option ?

  9. #9
    Member registered user
    Join Date
    Feb 2008
    Posts
    31
    Quote Originally Posted by Werner P. Schulz View Post
    You can create a Knoppix boot-CD or download a bootonly CD from the Knoppix mirrors.
    But I require persistence as well, have only an external USB hard drive to work with, and no USB boot.

  10. #10
    Member registered user
    Join Date
    Feb 2008
    Posts
    31
    Quote Originally Posted by Blacksimon View Post
    Are you sure you mean tohd and not fromhd option ?
    Yes. I first tried these options on another computer in a virtual machine to see how they work. They work as advertised on a virtual hard drive. In contrast, on my target machine, with only an external USB hard drive, tohd fails to copy the knoppix files to the external hard drive. Apart from ignoring the boot option, it boots normally, with no relevant messages.

    Since the hard disk is probably installed earlier in the boot process than USB devices, it seems possible that tohd might not work with USB devices.

Page 1 of 2 12 LastLast

Posting Permissions

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


H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2512.18



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 4x1G RJ-45 NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 4x1G RJ-45 NIC 2x750W PSU

$399.04



CSE-118 Supermicro 1U 3x GPU Server  2.1Ghz 16-C 128GB CX353A 2x1600W PSU Rails picture

CSE-118 Supermicro 1U 3x GPU Server 2.1Ghz 16-C 128GB CX353A 2x1600W PSU Rails

$450.03



R281-3C2 2U 12 Bay GPU Server 2.2Ghz 20-C 64GB 2x10G SFP+ 2x1200W TrueNAS ZFS picture

R281-3C2 2U 12 Bay GPU Server 2.2Ghz 20-C 64GB 2x10G SFP+ 2x1200W TrueNAS ZFS

$1180.24



Dell PowerEdge T130 Server 2012R2 Standard, RAID1 (2) 1TB NLSAS HD, 32GB RAM picture

Dell PowerEdge T130 Server 2012R2 Standard, RAID1 (2) 1TB NLSAS HD, 32GB RAM

$199.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$275.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w

$289.99



HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45 picture

HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45

$355.00