LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 04-25-2009, 07:03 PM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
How to fix this?


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"
not "mycd".
It will recreate the iso.Make sure you have Genisoimage/mkisofs installed, available through synaptic or "apt-get install genisoimage" or "mkisofs"

Last edited by linus72; 04-25-2009 at 07:15 PM.
 
Old 04-26-2009, 02:41 PM   #2
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
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.
 
Old 04-26-2009, 05:53 PM   #3
soleilarw
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 19
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).

Linux Archive

Last edited by soleilarw; 06-18-2009 at 04:45 AM.
 
Old 04-27-2009, 05:36 AM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
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
thanks
 
Old 04-29-2009, 10:30 PM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
ok igot a new kit at multidistro.com with a bootable iso and it can run from usb to test it-
fixes "menu.c32"

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.
 
Old 04-30-2009, 10:56 AM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
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.

Last edited by linus72; 04-30-2009 at 10:45 PM.
 
Old 04-30-2009, 06:13 PM   #7
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
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)

UltimateBootCD-50b12

SystemRescueCD-1.1.7

RIPLinux-8.2

DSL-4.4.10 w/ Qemu-persistent VHD

Parted-Magic-Live

NetbootCD-3.0

ZorOS-3.4

PlopBootManager

SuperGrubDisk

NT-Password

and Tinycore-1.4!

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.

Last edited by linus72; 04-30-2009 at 10:45 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FIX---Fedora install hangs---To fix this---- jmckinzie Fedora - Installation 0 12-20-2005 01:08 AM
all attempts to fix the problem failed... can someone help me fix partition space? foreverdita Linux - Enterprise 2 05-11-2005 10:02 AM
reiserfsck --fix-fixable -> --fix-fixable ignored - why? BrianK Linux - Software 1 01-07-2005 09:45 PM
How do i fix this? glitch Linux - Newbie 22 09-21-2002 09:08 AM
How can i fix this jester_69 Linux - Networking 1 09-11-2002 02:32 AM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration