Results 1 to 8 of 8

Thread: Knoppix 7.2 USB Flash Installer issue

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    8

    Knoppix 7.2 USB Flash Installer issue

    Knoppix 7.2 (CD EN) works nicely on both my Dell Inspiron 530 and Acer Aspire netbook.

    The USB Flash Installer produces a flash drive that will boot the Acer, but which fails on the Dell.

    Procedure: Booted CD Knoppix live on Dell. Invoked the Flash Installer and it wrote the 8 GB flash. When I booted the Dell and selected the flash drive, the Dell BIOS reported it as "USB-ZIP0" and gave "Boot error" when I tried to boot it. (Same with either the "p" or "i" options for overlay.)

    I then booted the same flash drive successfully on the Acer netbook. The Acer BIOS saw it as "USB HDD".

    This Dell BIOS is notoriously picky about flash drive formats, but I am running the latest BIOS. I have never successfully booted a USB-ZIP flash drive on the Dell.

    I then tried using the same procedure I use to create bootable CrunchBang linux flash drives for the Dell. Dell BIOS reported seeing it as "USB-HDD0" but gave "No boot device available"

    Here's how I wrote the flash device --
    Code:
    root@Dell:/home/xxx/iso/KNOPPIX_V7.2.0CD-2013-06-16-EN# ls *.iso
    KNOPPIX_V7.2.0CD-2013-06-16-EN.iso
    root@Dell:/home/xxx/iso/KNOPPIX_V7.2.0CD-2013-06-16-EN# dd if=KNOPPIX_V7.2.0CD-2013-06-16-EN.iso of=/dev/sdc bs=4M;sync
    175+1 records in
    175+1 records out
    734937088 bytes (735 MB) copied, 94.0435 s, 7.8 MB/s
    root@Dell:/home/xxx/iso/KNOPPIX_V7.2.0CD-2013-06-16-EN#
    Suggestions as to how I might create a bootable Knoppix 7.2 USB drive for my Dell?

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    If your Dell is unable to boot from USB, you cannot create a bootable stick for it. Sorry. But you can use a bootonly CD to boot and after this proceed with the stick.

    Your attempt with "dd" doesn't work because CD/DVD uses Isolinux and flash devices uses Syslinux.

  3. #3
    Junior Member
    Join Date
    Aug 2011
    Posts
    8
    Thank you, Werner.

    I did some more searching and testing, resulting in a bootable flash drive.

    First test was to use the Knoppix Flash Installer again ("p" option) and note the characteristics of the install. Knoppix (CD boot) Gparted said that there was an MSDOS partition table, /dev/sdc1 was 904 MB FAT32, /dev/sdc2 was 6.58 GB resiserfs. Result was unbootable on Dell.

    I then booted Windows Vista. Looking at the flash drive, I noted that there was /boot/isolinux directory created by the Knoppix (CD boot) Flash Installer!

    Using pendrivelinux.com Universal USB installer tool, I specified the distro as Knoppix and pointed to my Knoppix .iso file. I chose the "format" option for a new FAT32 format. It wrote the first partition, but ignored the second partition. The resulting partitions appeared identical to those created by the Knoppix Flash Installer, but with one important distinction -- /boot/syslinux instead of /boot/isolinux (as done by the Knoppix Flash Installer). The result was a bootable flash drive, recognized by the Dell BIOS as USB-HDD0.

    A few minor points --
    Acer was also happy to boot the new flash drive

    The Dell docs say boot devices should be plugged into front panel USB. Both front & rear worked fine.

    Knoppix (flash boot) Gparted saw the same partition info on the Pendrive Universal Installer flash drive as reported after the Knoppix Flash Installer. Difference appears to be contents of the /boot directory, as created by the two different installers.

    There was a boot prompt that indicated that no file had been specified for saving personal information, but that could be specified later. Bypassed it and used the system.

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    I then booted Windows Vista. Looking at the flash drive, I noted that there was /boot/isolinux directory created by the Knoppix (CD boot) Flash Installer!
    I think, this can only happens, if you have not partioned your stick once again after your attempt with "dd". The script "flash-knoppix ask you:
    Code:
    Repartition and format device?
    CAUTION: All data will be erased!
    No = Exit program"
    
    Do you really want to do this?
    WARNING: ALL DATA ON WILL BE ERASED!"
    If you really select "repartition", the script creates '/boot/syslinux' and not '/boot/isolinux' for the flash device and also the file 'ldlinux.sys'.

    Please check
    Code:
    Microknoppix:~$ md5sum /usr/bin/flash-knoppix 
    5b534dc8f5376a2d4b5dcf82727ef6ff  /usr/bin/flash-knoppix

  5. #5
    Junior Member
    Join Date
    Aug 2011
    Posts
    8

    md5sums check -- flash-knoppix failed again

    I checked flash-knoppix md5sums on both live boots of my flash drive and my CD -- both correct.

    I tried re-installing to flash using the live CD flash-installer, but answered "no" when prompted to format. As you said, it exited. Therefore, I assumed user error on my part.

    To test this, I used Gparted to remove both partitions from my working Knoppix flash drive and created a whole-device ext2 partition for a clean test.

    I then invoked the flash-knoppix installer script, selected the "p" option, approved the "format" option, and declined the encryption option. The script indicated that it had completed successfully.

    The Dell boot saw the result as USB-ZIP and refused to boot.

    Using Gparted to inspect the flash drive, I get /ldlinux.sys and /boot/syslinux

    Code:
    xxx@dell:~$ ls /media/KNOPPIX
    boot  efi  KNOPPIX  ldlinux.sys
    xxx@dell:~$ ls /media/KNOPPIX/boot
    syslinux
    xxx@dell:~$ ls -l /media/KNOPPIX/boot/syslinux
    total 7196
    -rw-r--r-- 1 xxx xxx 1474560 Jul  8 16:27 balder.img
    -rw-r--r-- 1 xxx xxx     172 Jul  8 16:27 boot.msg
    -rw-r--r-- 1 xxx xxx    1481 Jul  8 16:27 f2
    -rw-r--r-- 1 xxx xxx    1567 Jul  8 16:27 f3
    -rw-r--r-- 1 xxx xxx     256 Jul  8 16:27 german.kbd
    -rwxr-xr-x 1 xxx xxx  210445 Jul  8 16:27 grub.exe
    -rw-r--r-- 1 xxx xxx 4486912 Jul  8 16:27 linux
    -rw-r--r-- 1 xxx xxx   18508 Jul  8 16:27 logo.16
    -rw-r--r-- 1 xxx xxx   26140 Jul  8 16:27 memdisk
    -rw-r--r-- 1 xxx xxx  164504 Jul  8 16:27 memtest
    -rw-r--r-- 1 xxx xxx  953120 Jul  8 16:27 minirt.gz
    -rw-r--r-- 1 xxx xxx    2153 Jul  8 16:27 syslinux.cfg
    xxx@dell:~$

  6. #6
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Using pendrivelinux.com Universal USB installer tool, I specified the distro as Knoppix and pointed to my Knoppix .iso file. I chose the "format" option for a new FAT32 format...
    The resulting partitions appeared identical to those created by the Knoppix Flash Installer,..
    The result was a bootable flash drive, recognized by the Dell BIOS as USB-HDD0.
    I've tried this by myself and I've found only one difference:
    Knoppix formats the first partition as W95 FAT32 but Pendrive against it as W95 FAT32 (LBA).

    With my old Laptop I can neither boot with the USB stick formatted by Knoppix nor by Pendrive. Perhaps this is the difference with your Dell.
    Last edited by Werner P. Schulz; 07-12-2013 at 07:02 PM.

  7. #7
    Junior Member
    Join Date
    Aug 2011
    Posts
    8
    Thanks for testing, Werner.

    I verified my failed USB format (done via Knoppix EN CD) before retesting.
    Code:
    gparted gave FAT32 with boot & lba bits set
    fdisk gave "Id c" "W95 FAT32 (LBA)"
    cfdisk gave vfat with boot & NC flags set
    cfdisk man page says:
    The flags can be Boot, which designates a bootable partition or NC, which stands for "Not Compatible with DOS or OS/2". DOS, OS/2 and possibly other operating systems require the first sector of the first partition on the disk and all logical partitions to begin on the second head.
    OK, So I booted my Knoppix CD, ran the flash installer again and got another unbootable USB.

    I checked the partition specifications with Gparted, fdisk, and cfdisk and got exactly the same partition information as the previous test.

    I then used Pendrive's Universal USB Installer under Windows Vista to write the Knoppix .iso to USB. I got the normal 704 MB FAT32/6.6 GB reiser fs partitioning, and the USB was bootable.

    What was most interesting was that the partition info under Gparted, fdisk, and cfdisk were exactly the same as the previous 2 tests.

    Therefore, the difference between bootable and non-bootable boot records and/or partition 1 information is not something I can see with any of the three tools.

    FWIW, the flash device is a Crucial 8 GB.

  8. #8
    Junior Member
    Join Date
    Aug 2011
    Posts
    8
    The problem is not Knoppix-specific.

    Tested with the unetbootin USB installer on Crunchbang -- Debian Wheezy. The unetbootin tool insisted on a FAT32 formatted USB drive, so I used gparted to format. Then I used unetbootin to burn an Android 4.0 X86 .iso to the USB. Same problem as previously.

    I then used the Windows Vista universal USB installer after re-formatting the FAT32 USB on Windows. Success.

    If I ever get the time, it would be useful to see whether the issue is the FAT32 formatting done by Linux or the USB installers on Linux.

Posting Permissions

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


Lenovo IdeaPad 5i Slim 5 16IRL8 16

Lenovo IdeaPad 5i Slim 5 16IRL8 16" (512GB SSD, Intel Core i5-1335U, 1.30GHz,...

$469.00



~OVERSTOCK~ 14

~OVERSTOCK~ 14" Lenovo ThinkPad Laptop PC: Intel i5 Dual Core Built in Webcam

$174.99



For Lenovo ideapad Flex 5 15IIL05 15ITL05 LCD Touch Screen Bezel 5D10S39643 New picture

For Lenovo ideapad Flex 5 15IIL05 15ITL05 LCD Touch Screen Bezel 5D10S39643 New

$135.00



Lenovo Legion 5 15.6

Lenovo Legion 5 15.6" Gaming Laptop AMD R7 7735HS RTX 4060 16GB RAM 512GB SSD

$849.99



Lenovo IdeaPad Pro 5i, 16″, i5-13500H, 16 GB, 1 TB SSD, RTX 3050, 120Hz, Laptop picture

Lenovo IdeaPad Pro 5i, 16″, i5-13500H, 16 GB, 1 TB SSD, RTX 3050, 120Hz, Laptop

$709.99



Lenovo ThinkPad Yoga 11e 11.6

Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10

$58.00



Lenovo ThinkPad E560 Intel Core i5-6200U 2.3GHz 8GB RAM 500GB HDD W10P w/Charger picture

Lenovo ThinkPad E560 Intel Core i5-6200U 2.3GHz 8GB RAM 500GB HDD W10P w/Charger

$74.99



Lenovo 300e 11.6

Lenovo 300e 11.6" 2in1 Touchscreen Laptop Computer 4GB RAM 64GB SSD Windows 10

$83.99



Lenovo Notebook ThinkPad L14 AMD Gen 3 Laptop, 14

Lenovo Notebook ThinkPad L14 AMD Gen 3 Laptop, 14" FHD IPS 60Hz

$409.99



Lenovo ThinkPad L580 15” HD LCD Laptop PC Core i5 16GB RAM 256GB SSD Windows 11 picture

Lenovo ThinkPad L580 15” HD LCD Laptop PC Core i5 16GB RAM 256GB SSD Windows 11

$249.99