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

Thread: can not get poor mans install to boot

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    23

    can not get poor mans install to boot

    I am trying to get the knoppix dvd (adrian) to boot from hard disk using the poor mans install method. The system has a running opensuse 11.1 64bit os. I have installed puppy linux to hda0,2 and added it to the grub boot loader and it works fine. However, I can not use the same method with the knoppix dvd. The partitions are ext3. I read that knoppix needs it own partition using ext2. I have read the various how-to docs with no success. I do not want to boot a cd and use a cheat code to run the hard drive install of knoppix.

  2. #2
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Is this tested and proven ?

    You have to differentiate two things, ie
    1) The "hosting" file system - ie the file system which holds the knoppix files.
    2) The knoppix compressed image ( loop mount ) file system.

    For item 1, it can be VFAT, ISO9660, NTFS, EXT2, EXT3 and reiserfs.
    For item 2, it can only be ext2.

    For your case, what's relevant is item 1, and ext3 is a supported file system. It should be working.

  3. #3
    Junior Member
    Join Date
    Sep 2010
    Posts
    23
    If I understand your reply, the knoppix iso image is in ext2 file format. My hd file system is ext3. So the problem must be in how knoppix was installed? What I did was copy the contents of the iso file to the root of hda3 (the root of /home in opensuse) and made a knoppix entry in the grub boot loader. The error grub reported was that it could not find the file. I read later that the kernel and initrd files needs to be in a separate partition (root). Is that a workable solution to the poor mans install?

  4. #4
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    No you don't seem to get me - but for now, the only thing you need to know is that knoppix poor man install is working on vfat, iso9660, ntfs, ext2, ext3 and reiserfs - that's assuming you are using >= 6.2.0. Can't say about older versions.

    Now to solve the actual problem, you would have to post specifics. You have to post what you have done (wrong) in order to get it right. If you post no specific, I have no idea what you have done.

  5. #5
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by mrbojangles View Post
    I read later that the kernel and initrd files needs to be in a separate partition (root).
    The location of kernel and initrd is totally dependent on the boot loader. Different boot loader and file system layout may have different considerations. Note that this is not something which is imposed by knoppix. Just check how the opensuse is doing it now and do the same. Once you sorted out the booting ( linux and minirt.gz ), the rest is simple, as knoppix auto detect for presence of knoppix files.

  6. #6
    Junior Member
    Join Date
    Sep 2010
    Posts
    23
    Here is my grub entry:

    title Knoppix 6.2 dvd ISO scan ramdisk=32MB
    kernel (hd0,2)/knoppix/linux ramdisk_size=100000 initrd=minirt.gz lang=us apm=power-off vga=791 nomce quiet fromhd=/dev/hda3/knoppix bootfrom=/knoppix/*.iso config=scan home=scan ramdisk=32768 noprompt
    initrd (hd0,2)/knoppix/minirt.gz
    boot

    I have linux, minrt.gz and knoppix.iso in hda3

    It can boot part way where it seems to be searching for usb and stops with:
    could not mount disk to /mnt-system. Starting debugging shell.....

    box is amd 3500+ 1gig ram opensuse 11.3

  7. #7
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by mrbojangles View Post
    fromhd=/dev/hda3/knoppix bootfrom=/knoppix/*.iso config=scan home=scan
    Firstly, the good news portion. You have done all that is required by the boot loader.
    What you did not do correct is only the second part, the copying of knoppix files.

    It appears to me that you are copying the raw image of knoppix as a *.iso. I read somewhere someone has modified the minirt.gz to get this configuration working, but that's a 60 over pages of posts which I don't have the patience to follow.

    What you should have copied, is the 'KNOPPIX' directory, as it appeared to you when you mount the CD/DVD. The directory has a few important files, one of them is KNOPPIX/KNOPPIX, another is the folder KNOPPIX/modules, and a few htmls/pictures.

    Also I have no idea of the significance of the cheatcode you used, as quoted above. Someone who is familiar with knoppix cheatcode can help explain that. But I think they are not necessary. You can remove them. As far as I know knoppix auto detects the presence of knoppix files, until someone proves me wrong that the autodetect is flawed.

  8. #8
    Junior Member
    Join Date
    Sep 2010
    Posts
    23
    Ok, I cleaned up the cheatcodes and copied the knoppix/knoppix folder to the hard drive hda3. It looks like it does a scan over and over like this:
    /dev/sda1
    /dev/sda2
    /dev/sda3
    until it stops with: 'could not mount disk to /mnt-system. Starting debugging mode...'

    I am confused between the fromhd= and bootfrom= cheatcodes. Do I need them? I feel that I am close to getting it to boot, but need some clues.

  9. #9
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Ok maybe indeed there is a flaw in the autodetect, based on the output, it seems to only scan /dev/sdaX and did not scan /dev/hdaX.

    You might need one of those cheatcode fromhd thingie. Maybe you can try fromhd=/dev/hda3. But the problem might be more complicated than this, as the device files /dev/hdaX might not be present in the knoppix system. Looks like you need a patched minirt.gz.

    At the debug shell, try this :-

    # ls -al /dev/hd*

    To check if the device files are present.

    If not, try this :-

    # mknod /dev/hda3 b 3 3

    After that :-
    # mount /dev/hda3 /mnt-system
    # exit

  10. #10
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    I changed my mind, somewhat. It seems from the output, the kernel is treating hda as sda, so it is able to scan upto sda3.

    So yet another possibility is that you still did not copy the knoppix files correctly, ie the path is not what is expected by knoppix.

    When you view the copied files under opensuse, it should be something like this :-

    /mount_point/KNOPPIX <---- this is a directory
    /mount_point/KNOPPIX/KNOPPIX <----- this is a huge file
    /mount_point/KNOPPIX/modules <---- this is a directory
    /mount_point/KNOPPIX/moduldes/aufs.ko <--- this is a file
    .... so on and so forth

    If the hda3 is your root file system, then there is no mount point, the file organization will be :-

    /KNOPPIX <---- this is a directory
    /KNOPPIX/KNOPPIX <----- this is a huge file
    /KNOPPIX/modules <---- this is a directory
    /KNOPPIX/moduldes/aufs.ko <--- this is a file
    .... so on and so forth

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
  •  


Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller picture

Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller

$28.00



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99



Intel PCIe SSD AIC RAID Controller Card G97168-252 picture

Intel PCIe SSD AIC RAID Controller Card G97168-252

$44.55



Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card picture

Oracle 7085209 LSI MegaRAID SAS 9361-8i 1GB Cache 12Gbps SAS/SATA PCIe RAID Card

$28.20



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$82.49



Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT picture

Inspur LSI YZCA-00424-101 Raid Card 12Gbps HBA Controller Low Profile 9300-8i IT

$15.98



4 Bay RAID External Hard Drive Enclosure for 2.5/3.5

4 Bay RAID External Hard Drive Enclosure for 2.5/3.5" SATA HDD/SSD

$79.99



G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply picture

G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply

$99.99