invalid tar magicForum: DSL Embedded Topic: invalid tar magic started by: albee Posted by albee on Mar. 29 2005,15:21
Hi, I have remastered DSL using the mkmydsl script, and it successfully creates the mydsl.iso image with samba.dsl in the root directory (the only .dsl that I have tried thus far), but when booting the new .iso, DSL reports 'invalid tar magic' when it detects samba.dsl. Any ideas out there? The only thing that I did differently than the tutorial is that I made /mnt/hdb both the extensions directory, and the ISO directory. It worked, but it seems that Samba did not survive the process. I've tried this several times, and it's always the same result. Thanks in advance, Albee Posted by mikshaw on Mar. 29 2005,15:29
It sounds like a corrupt samba archive. Grab the md5sum for samba (in the "net" section of the mydsl repository) and put it in the same directory as samba.dsl. From that directory, type "md5sum -c samba.dsl.md5.txt". If you get an "ok" response, then corruption is apparently not the problem, and I don't know what else to do. Posted by albee on Mar. 30 2005,16:11
Thanks Mikshaw, I re-downloaded, ran the md5sum (ok) and re-mastered, but it still says 'invalid tar magic' at boot up. Has anyone else seen this before? Scott H. Posted by mikshaw on Mar. 30 2005,16:24
Out of space, perhaps? Tar can't extract where there's no room to extract. Do you get any other messages with this?
Posted by albee on Mar. 31 2005,14:57
Well, What I have done is to create a second harddisk image which I mount to /mnt/hdb. It is 500 megs in size. I boot into DSL, download the samba.dsl file and md5sum.txt and cp them to /mnt/hdb. I then check the file md5sum and then reboot DSL toram init mode 2. I remount /mnt/hdb and recheck the md5sum and then run the mkmydsl script.Since /dev/hda is at 98% usage, I tell it to use /mnt/hdb for the archive 'and' the ISO image, and off it goes. It makes the image and I boot off of it next round by altering the qemu-win.bat file. It boots successfully, but with the srror. By out of space then, do you mean on /mnt/hda? Because /mnt/hdb is 500 meg of empty space, until I do the process above. Do you think that it is just not possible to write the ISO to the same mount point as the .dsl archive (i.e.. /mnt/hdb)? After all, the script does show examples of two separate mount points, one for the file archive, and one to write the ISO. Thanks again, Scott H. Posted by mikshaw on Mar. 31 2005,15:23
I meant out of RAM mainly, since you are using a liveCD (image)...although it could apply to disk space. If you have part of your system mounted on hda, which is already full, you'll have trouble when you try to write to that mount point.If your image doesn't mount any part of the system onto the harddrive, the "out of space" would apply to RAM. If you have a pile of ram, then i guess space isn't the problem....although that 98% makes me wonder. Posted by albee on April 01 2005,00:41
Understood. Well, I tried loading it to RAM, of which I have allotted 512 megs, and it is the same. I'm not sure why it is getting corrupted during the ISO image creation. Thanks again, Scott H. Posted by albee on April 01 2005,17:47
Just as an update.... I never figured the corrupted archive issue out, but I can make it load samba at boot by downloading samba.dsl to /mnt/hdb, and then appending mydsl=hdb to the dsl-windows.bat file. A how-to on creating a /dev/hdb (i.e.. harddisk2) image can be found in the forums. I made a 500 meg hdb, so I can play !!!!Thanks again, Scott H. |