Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
After uploading my greatest creation-MultiDistro-Magic-LiveCD-v4.20.iso to my hosting site, I then downloaded it and was running it on qemu to verify everything.
While trying to invoke my scripts inside the iso, "mydsl.sh" and others, I would get a "qemu/qemu permission denied" and all the scripts had become read only and not able to be invoked.
I tried using the root term in DSL live with "chmod +x mydsl.sh" and "chown", but it just says read-only.
I then extracted the downloaded iso to a folder, changed the permissions on all scripts and qemu, making them all read/write for anyone.
I then checked the box making sure they're "executable"
I included scripts inside to rebuild the iso image in the event the end user needed to change a menu item, etc (make_iso.sh)-found in any "slax" folder.
After changing permissions etc, i used the make_iso.sh to rebuild the iso and now everything works as it should....
Question is, when I uploaded it I had already made everything read/write and executable, so what happened to change this after uploading it??
NOTE to those who already downloaded it-I will put the link to this post at my site so you can fix it or re-download it tomorrow as the fixed iso will be there then...
To play qemu/dsl from the extracted folder-double-click "mydsl.sh" or similar and select "run"
To play qemu/dsl while in the live dsl environment-open a root shell at the menu and "cd /cdrom" or "cd /mnt/auto/cdrom" and then
"./mydsl.sh" or "./hydra.sh", "./base.sh"
READ all the docs!
So-to fix it yourself-in Ubuntu-8.04, extract the iso by right-clicking it-choose"extratc here".
After extraction-right click every .sh/.bat script and select properties, then permissions-make it read/write for all, then check the "make executable" box.
Verify qemu works by double-clicking mydsl.sh/other and select run.
If nothing happens, open a terminal and "cd" into the folder where "mydsl.sh" is , and try to invoke with "./mydsl.sh"
It should give a error message like permission denied or qemu/qemu permission denied-unless you fixed the scripts...
To rebuild iso-double click "make_iso.sh/.bat" and choose "run in terminal", then choose a name-make sure it ends ".iso" like "mycd.iso"
It will recreate the iso.Make sure you have Genisoimage/mkisofs installed, available through synaptic or "apt-get install genisoimage" or "mkisofs"
If you mount a CDROM you'll see that all the files on it are read-only. This is because CDROMs are read-only medias. You have to be careful when you copy things from a CD to the hard-disk because sometimes you get a surprise that all the files are read-only, when they weren't like that before you burnt them.
I'm not sure if your scenario is exactly the same, but I think that something similar to that happened to you.
You did not specifically mention that you have mounted the downloaded IO image, so I can only assume that you did mount it as a loopback device. The ISO filesystem is meant for storage, not for live work and modification, so I assume that mount treats ISO files that way. You can still try to specifically add to rw option to mount or use the -remount rw option.
It is also possible that permission settings get lost during ISO building. You should check the settings that control the file attribute (Joliet and Rock-Ridge settings).
Actually, it's ok now.
Apparently, I had extracted the iso image, edited some stuff, and then forgot that things/permissions, etc change when the iso is extracted.
Mistakenly, I just re-formed the iso and uploaded it.
Now, I make sure everything's Kosher, then form the iso, then upload.
So, it's all fixed.
Now, all scripts work etc
ok igot a new kit at multidistro.com with a bootable iso and it can run from usb to test it-
This fix it kit is if you have trouble booting any usb using "menu.c32"(ie netbootcd-3.0)(password required,etc)
Replace any menu.c32 by deleting it and then replacing it with the menu.c32 and vesamenu.c32 in the boot folder of this kit.
The rest of the kit is so that you can simply place the boot folder and syslinux.cfg into your usb and see if it boots without asking for a password.
An iso is included which is made from the boot folder and syslinux.cfg
the to_mkeiso.txt is a how to for making a iso.
the usb.txt is a how to for installing this kit to usb.
I think I may have solved the menu.c32/vesamenu.c32 problem!
I put my latest creation ULTKCD-v4.22 onto USB and of course at boot time I get a black screen and press enter it says "Password", which is wrong-who could know the password?!
Anyway, I downloaded my FixitkitUSB, and "cut" or moved(don't copy!) the menu.c32 and vesamenu.c32 from the boot folder to my ULTKCD-v4.21's boot folder.
I unmounted USB and rebooted and it works Great!!
Maybe that's the secret, that when you COPY the menu.c32/vesamenu.c32 something happens with the permissions or what?, but if you "CUT"(move) them, they work fine...?
So, after bugs are worked out I will upload ULTKUSB-v4.21.zip so people can get it
Note- I had to substitute DSL/Qemu for INSERT, as INSERT has issues running from USB.
OK- Ultimate-Linux-ToolKit-USB-v4.21 (ULTKUSB-v4.21.zip) is going to be ready for download at multidistro.com
at 6:30PM Eastern!!
AS I said, can't get INSERT working on USB(works great on ULTKCD-v4.22.iso though!), so I substituted my latest DSL/Qemu(even has Ubuntu SE homepage when you open firefox), and here's all the stuff it has (698MB)
DSL-4.4.10 w/ Qemu-persistent VHD
All on USB!
Also has a new submenu system!
I changed some colors on the menu system and it all looks great!
and ultimatebootcd 50b12 has antivirus stuff and lots more.
ALSO, PLEASE POST HERE OR EMAIL ME AT THEPENANDPAPERatGMAIL.COM IF ANY PROBLEMS, ETC AS i HAVE KNOW WAY OF KNOWING.