PDA

View Full Version : Knoppix does not find it's KNOPPIX image



neitzel
07-12-2003, 05:32 PM
I installed Knoppix on my harddisk this way:

/dev/hda3 (ext2) holds the contents of the CD (incl. KNOPPIX/KNOPPIX image)

/dev/hda4 (ext2) is my new home directory (home=/dev/hda4 Parameter given, works fine!)

I am booting through my vfat partition /dev/hda1 with a simple windows 98 using LoadLin.

I copied all contents of boot.img to c:\linux, included the loadlin EXE and tried to start it:
C:\LINUX\LOADLIN.EXE vmlinuz initrd=miniroot.gz lang=de keyboard=de xkeyboard=de noeject home=/dev/hda4

All I get is a mini-shell, because it cannot find the KNOPPIX image.

When the Knoppix CD is in the drive, Knoppix boots up fine. No problems!

Any ideas, what I can do? Or what I have done the wrong way?

It would be nice, if you could give some hints to me.

Thank you very much!

With kind regards,

Konrad

fingers99
07-12-2003, 06:22 PM
Everyone seems to be doing it the hard way today! You really should use the knx-hdinstall script. :wink:

one HOWTO here

http://www.freenet.org.nz/misc/knoppix-install.html

another here

http://articles.linmagau.org/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=181&page=1

If you get stuck, come back.

neitzel
07-12-2003, 06:41 PM
Hi fingers99,

thank you for your quick answer.

I know, that Knoppix could be installed fully onto a system. I have done that multiple times in the past. But as you know, this needs much Diskspace (about 3 GB).

If I had 3 GB spare Harddisk, everything would be fine that way. But I do not have that much space left.

So it would be nice to simply use the compressed image. That should be possible. In the docs part of knoppix.net is a HdBasedHowTo, that tells me, that it should be possible:
http://www.knoppix.net/docs/index.php/HdBasedHowTo

In this document, different ways are mentioned to do it this way. But all I can found with my problem is:
"As it boots the KNOPPIX directory should be discovered and booted into a full fledged Knoppix system as though running from CD" - Fine. It doesn't work for me.

Now I will try the point 1.4: Putting Knoppix inside the VFAT partition of windows. Maybe knoppix discovers it and boots from it.

With kind regards,

Konrad

neitzel
07-12-2003, 06:55 PM
Now I will try the point 1.4: Putting Knoppix inside the VFAT partition of windows. Maybe knoppix discovers it and boots from it.


That way works fine. It would be nice to know, why the usage of a ext2 filesystem with all contents of the CD didn't work :(

But this solves my problem. I will delete the ext2 partition and resize the Windows Partition again.

Thank you for all help!

Konrad

fingers99
07-13-2003, 12:33 AM
It would be nice to know, why the usage of a ext2 filesystem with all contents of the CD didn't work

Can't say for sure, but my guess would be that an ext2 or ext3 partition is interpreted as having permissions. Anyone know?

socalgail
07-13-2003, 02:32 AM
Hi fingers99,

So it would be nice to simply use the compressed image. That should be possible. In the docs part of knoppix.net is a HdBasedHowTo, that tells me, that it should be possible:
http://www.knoppix.net/docs/index.php/HdBasedHowTo


I followed the steps in 1.4 of the above howto but had the same problem as Neitzel. The main differences are (1) I am not an experienced user and want to try this out before I take the plunge and (2) I copied the KNOPPIX file to an NTFS partition.

Here is a wag at what may be wrong - could the bootfloppy not contain the correct lilo.conf or fstab?

Any help is appreciated. I hate it when I can't get something to work :-(

Thanks,
Gail

neitzel
07-13-2003, 08:21 AM
Hi everybody!

fingers99: Hmm ... I cannot check it again, because I no longer have an ext2 partition to test it. (Now everything I have is a large vfat and a small ext2 for home ...

socalgail: It works fine for vfat filesystems. (That is the way it works for me in the moment)
I cannot tell you, why it didn't work for ntfs, too. Until now I didn't look into the code, but I expect a mount for each available partition. Maybe the autodetect of the filesystem type isn't working correctly? (I got some problems with this in the past e.g. mount with -t works fine, but without giving the type (and with a "auto" in fstab), linux is unable to mount the filesystem ...

I am sorry, that I cannot give you any hint how to solve your problem.

With kind regards,

Konrad

socalgail
07-13-2003, 07:49 PM
Hi Konrad,

Thanks for the information. What I plan to do is to format some unformatted space on a hard drive as FAT32 and go from there. The impression I have from reading what google found for [knoppix ntfs] is that Knoppix wants to write something in /home and if this is on an NTFS partition, instead of the ramdisk?, it fails. Knoppix doesn't have NTFS write support. This must clearly be a size issue. This is a project for next week-end though! I will post results here.

Gail