Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Creating Knoppix-data.img

  1. #11
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by otropogo View Post
    Why can't I boot FS_Knoppix from the internal card reader in a laptop? I installed FS_Knoppix 6.4.3 via an external USB card reader on my desktop, but couldn't find a way to boot from it. I then tried attaching the same Hama reader to the usb port of a Toshiba Satellite A500 02-F laptop, and it booted fine off that installation to SD card.

    OTOH, when I tried to cut out the middle man and stuck the SD card in the Toshiba's internal flash card reader, it was ignored at bootup. With the external USB reader attached, USB showed up in the boot sequence (which I'd configured to boot USB first) as "generic usb", but with the card in the internal slot, there was no sign of any bootable USB device in the system. How come? And is there any way to boot from such a slot?
    There's no "native" way, AFAIK, to boot off a device that doesn't show as bootable (that's in the BIOS.) Clearly, it's not because of what's on the card - it boots when hooked up "externally." OTOH, there's more than one way to do anything in Linux. Search these forums for some of the earlier threads on booting with the help of "boot managers" and the like.

    Cheers!
    Krishna
    p.s. There may be a BIOS update on the mfgrs website, too.

  2. #12
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @ otropogo

    If you normally have usb appliances other than your sd card also in use,
    try leaving the other(s) NOT plugged in until after boot.

    If this allows you to boot, then try other usb slots for those
    other appliances, if you have other slots.

  3. #13
    Senior Member otropogo's Avatar
    Join Date
    Jul 2008
    Posts
    109
    Quote Originally Posted by Werner P. Schulz View Post
    ... perhaps the answer of Klaus Knopper may help you
    http://lists.debian.org/debian-knopp.../msg00027.html

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    "Build personal Recovery-CD with Knoppix (Knoppix remaster)"
    Thanks Werner. Your citation looks promising, and I'd like to try it. But it appears, from the context, to be designed to write the persisitent image file to the same location as the flash installation. Where would this command write the image file when the system has been booted from the LiveCD, and how would it find it at boot-up if it wasn't on the partition with FS_Knoppix?

    I don't know enough to answer these questions, much less to edit the command so that it would work for my situation. How did Knoppix find the persistent image file in older versions that still booted only from the LiveCD or DVD?

  4. #14
    Senior Member otropogo's Avatar
    Join Date
    Jul 2008
    Posts
    109
    Quote Originally Posted by utu View Post
    @ otropogo

    If you normally have usb appliances other than your sd card also in use,
    try leaving the other(s) NOT plugged in until after boot.

    If this allows you to boot, then try other usb slots for those
    other appliances, if you have other slots.
    Thanks for your suggestion. I tried it, but no cigar. The only USB device I had attached was a mouse. I detached it, powered up, hit the F12 key for the boot options (with the SD card holding FS_Knoppix in the internal card slot), and got a boot list that showed only the DVD burner, the Hard drive, and LAN.

  5. #15
    Senior Member otropogo's Avatar
    Join Date
    Jul 2008
    Posts
    109
    Quote Originally Posted by krishna.murphy View Post
    There's no "native" way, AFAIK, to boot off a device that doesn't show as bootable (that's in the BIOS.) Clearly, it's not because of what's on the card - it boots when hooked up "externally." OTOH, there's more than one way to do anything in Linux. Search these forums for some of the earlier threads on booting with the help of "boot managers" and the like.

    Cheers!
    Krishna
    p.s. There may be a BIOS update on the mfgrs website, too.
    I haven't tried looking for a BIOS update, but I'm thinking that if Toshiba made the slot unbootable, there's probably a reason, it's not just an oversight. I've had lots of problems with boot managers, and even if they cause no trouble in the system, they are always an easy excuse for Windows techs to refuse support. I've even been told by an authorized Dell service centre that dual booting anything but currently supported Windows OSs (meaning Windows 7 and XP), would automatically void my Dell warranty. And when I contacted Dell telephone support they confirmed it!

    I know it's bullshit, but I don't enjoy having to claw my way up to level three support for even the simplest problems, just because I'm dual booting Linux. With a LiveCD or usb boot, I can say the Windows system is clean.

  6. #16
    Senior Member otropogo's Avatar
    Join Date
    Jul 2008
    Posts
    109
    Quote Originally Posted by otropogo View Post
    Thanks Werner. Your citation looks promising, and I'd like to try it. But it appears, from the context, to be designed to write the persisitent image file to the same location as the flash installation. Where would this command write the image file when the system has been booted from the LiveCD, and how would it find it at boot-up if it wasn't on the partition with FS_Knoppix?

    I don't know enough to answer these questions, much less to edit the command so that it would work for my situation. How did Knoppix find the persistent image file in older versions that still booted only from the LiveCD or DVD?
    OK, I've tried the command now, and it performed as I expected. It tried to write the image file to the LiveCd, since that's what booted, and reported that it couldn't do it (can't remember the exact words).

    Also, the SD card with the persistent image file for the LiveCD created on the laptop was in the attached USB reader, but the programs saved in it were not loaded.

    Clearly, the distro is set up to look for the image file only in the same partition as the booted Knoppix, so even if one could write an image file, you'd have to edit the boot instructions so that Knoppix would look for it elsewhere than the boot partition.

    Since Klaus responded to my original inquiry about the reason for this deliberate crippling of the LiveCd by deleting it, I can only conclude the guess I hazarded (to sell 4 and 8GB flash memory) was not far off the mark..

  7. #17
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by otropogo View Post
    I haven't tried looking for a BIOS update, but I'm thinking that if Toshiba made the slot unbootable, there's probably a reason, it's not just an oversight. I've had lots of problems with boot managers, and even if they cause no trouble in the system, they are always an easy excuse for Windows techs to refuse support. I've even been told by an authorized Dell service centre that dual booting anything but currently supported Windows OSs (meaning Windows 7 and XP), would automatically void my Dell warranty. And when I contacted Dell telephone support they confirmed it!

    I know it's bullshit, but I don't enjoy having to claw my way up to level three support for even the simplest problems, just because I'm dual booting Linux. With a LiveCD or usb boot, I can say the Windows system is clean.
    I think you're right - it IS bulls**t (they are always looking for reasons why they don't need to "waste" time on a call.) But I'm pretty sure there's NOT really a good reason the slot's not bootable - could be intentional, but more likely just not working right and not "worth fixing" for them. At least you do have a way to boot Knoppix, with the external card adapter. One option would be to boot a CD, then type in (using appropriate device designation):
    Code:
    knoppix fromhd=/dev/sdx
    to boot from the "unbootable" memory card slot.

    Cheers!
    Krishna

  8. #18
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    Does Knoppix support the internal card reader after boot? Not all card readers are supported by linux. I have got one that needs a special driver and is usable under Windows only. Therefore I had to buy another one which also allows me to boot from USB.

  9. #19
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Hi otropopo,

    Both klaus2008 and krishna.murphy make valid points but they may be assuming too much.

    You've two problems:

    1) Can Knoppix see your SD card at all ? I hope the answer is yes, otherwise you are stuck.
    2) Can your laptop boot from the SD ? The thread so far says no. I am not surprised.

    If the answer to 1) is yes but the answer to 2) is no, there is way but first you need to find the answer to 1).

    Boot Knoppix from your CD without the SD or any USB stick. Open a console terminal. Type in:

    Code:
    cat /etc/fstab
    Knoppix is very good at recognising file systems. You should see (among others):

    Code:
    /dev/sr0 /media/sr0 iso9660 ....
    that's the CD you booted from and something like:

    Code:
    /dev/sda1 /media/sda1 ntfs ....
    that's the dreaded Windows.

    On my laptop, if I plug in a (formatted) USB stick and cat fstab again I now also see:

    Code:
    /dev/sdb1 /media/sdb1 vfat ...
    If I take the USB stick out agian, the vfat entry disappears. Now if plug in an SD card and I am lucky, a new vfat entry should appear. I am not lucky and my laptop is brand new ! If I put the SD card back in my camera, plug my camera into the laptop's USB port and turn the camera on I am again unlucky. I know that Linux knows I plugged these devices in because:

    Code:
    lsusb
    shows (one of, depending on which is plugged in):

    Code:
    Bus 002 Device 003: ID 0cf2:6250 ENE Technology, Inc.
    Bus 002 Device 005: ID 04cb:020f Fuji Photo Film Co., Ltd
    What this means is that Knoppix does not have a driver that knows how to handle these devices (or possibly lacks a udev rules to load the correct drivers). Either way, the answer to question 1 for me is no. The simplest thing to do now is to buy an ordinary USB stick and install Knoppix on it.

    If, for you, the answer to question 1 is yes, then make a note of the vfat fstab entry. If you have no other disk devices then it will be /dev/sdb1. If unsure, mount it and check the contents look right (very similar to what the contents of the CD).

    Reboot your machine. When the very first Knoppix screen comes up, press the letter k. It will appear next to boot: at the boot. Now, at your leisure, enter

    Code:
    knoppix fromhd=/dev/sdb1
    carefully and press return. The colourful screen that shows the early stages of the boot should show

    Code:
    Waiting (USB)...
    and then

    Code:
    Knoppix 6 found at: /dev/sdb1
    If you don't see the second, you probably typed in the boot parameter incorrectly. Let Knoppix boot, open a console and type:

    Code:
    cat /proc/cmdline
    The tail end of what is output will show what you did type rather than what you thought you typed.

    If the boot gets stuck and eventually fails with:

    Code:
    Could not mount disk to /mnt-system. Starting debugging Shell
    Then your SD card isn't /dev/sdb1. Boot to Knoppix and check the device letter (b in sdb1) against your fstab then try again.

  10. #20
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    1) Can Knoppix see your SD card at all ? I hope the answer is yes, otherwise you are stuck.
    Not entirely (at least not necessarily.) If there is a kernel module available (specific to the memory device, I assume) it can be added to (inserted into) the kernel via the insmod command.
    2) Can your laptop boot from the SD ? The thread so far says no. I am not surprised.
    Yeah, me neither - there are a lot of laptops with a funky BIOS in this world. Another option would be to install to the hard drive instead - it's usually a lot faster, anyway.

    Cheers!
    Krishna
    Last edited by krishna.murphy; 02-02-2011 at 06:26 AM. Reason: clarification

Page 2 of 3 FirstFirst 123 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
  •  


OEM Genuine 42Wh WDX0R For DELL Inspiron WDXOR Battery 15 5567 5568 13 5368 7368 picture

OEM Genuine 42Wh WDX0R For DELL Inspiron WDXOR Battery 15 5567 5568 13 5368 7368

$22.99



OEM 68Wh 3HWPP Battery For Dell Latitude 5401 5501 5410 5510 E5411 E5511 picture

OEM 68Wh 3HWPP Battery For Dell Latitude 5401 5501 5410 5510 E5411 E5511

$28.99



Genuine OEM 63Wh 7FMXV Battery For Dell Latitude 5320 7320 7420 7520 4M1JN TN2GY picture

Genuine OEM 63Wh 7FMXV Battery For Dell Latitude 5320 7320 7420 7520 4M1JN TN2GY

$32.99



OEM Genuine 62WH 6MT4T Battery For Dell Latitude E5470 E5570 6MT4T 07V69Y 7V69Y picture

OEM Genuine 62WH 6MT4T Battery For Dell Latitude E5470 E5570 6MT4T 07V69Y 7V69Y

$36.66



OEM Genuine 86WH 69KF2 Battery For Dell XPS 15 9500 Precision 5550 M59JH M15 M17 picture

OEM Genuine 86WH 69KF2 Battery For Dell XPS 15 9500 Precision 5550 M59JH M15 M17

$45.49



OEM 68Wh 3HWPP Battery For Dell Latitude 5401 5411 15 5501 5511 Precision 3541 picture

OEM 68Wh 3HWPP Battery For Dell Latitude 5401 5411 15 5501 5511 Precision 3541

$35.78



NEW OEM V6W33 Battery For Dell Inspiron 3510 5510 Latitude 3330 3320 Vostro 3515 picture

NEW OEM V6W33 Battery For Dell Inspiron 3510 5510 Latitude 3330 3320 Vostro 3515

$22.00



Lot of 5 Dell OEM 65W 7.4mm 19.5V 3.34A AC Adapters Mixed Models B Grade picture

Lot of 5 Dell OEM 65W 7.4mm 19.5V 3.34A AC Adapters Mixed Models B Grade

$39.99



Genuine OEM  52Wh DXGH8 Battery For Dell XPS 13 9370 9380 7390 Series H754V NEW picture

Genuine OEM 52Wh DXGH8 Battery For Dell XPS 13 9370 9380 7390 Series H754V NEW

$32.99



OEM 38Wh F62G0 Battery for Dell Inspiron 13 5370 7000 7370 7380 7386 7373 P83G picture

OEM 38Wh F62G0 Battery for Dell Inspiron 13 5370 7000 7370 7380 7386 7373 P83G

$29.89