-
Senior Member
registered user
Re: Cannot Eject CD
Originally Posted by
drmarathe
knoppix@ttyp2[knoppix]$ sudo umount -l /cdrom
umount: /cdrom: not mounted
knoppix@ttyp2[knoppix]$ sudo eject /dev/cdrom
eject: unable to find or open device for: `/dev/cdrom'
knoppix@ttyp2[knoppix]$ mount /dev/cdrom
mount: mount point /mnt/auto/cdrom does not exist
2.6 in Knoppix 3.4 had some problems:
sudo eject /dev/scd0 or /dev/hdX should work though.
cu
Fabian
-
Senior Member
registered user
Copy to HD / RAM while running from CD
Hi,
this is really really cool.
Now we can copy to HD / RAM while running from CD, which basically also allows changing the applications that run from the CD! Changing is just limited by the number of cloop devices, which is sad :-/ due to a bug (?) in cloop ...
Code:
# copy to HD
mount /mnt/hda6
rsync -avP /cdrom/KNOPPIX /mnt/hda6/
# load from HD
losetup /dev/cloop1 /mnt/hda6/KNOPPIX/KNOPPIX
mount /dev/cloop1 /KNOPPIX
# remove CD
umount -l /cdrom
eject /dev/cdrom
# fill in /cdrom again (optional)
# either through --move or --bind
mount --bind /mnt/hda6 /cdrom
Thats it.
Possibilities are of course again unlimited. This could create an ISO on the fly from the CD and then insert it, copy to NTFS partitions and whatever you have not even thought of.
I'm still working on a solution to put out the CD cleanly without risking cloop to not be able to read some blocks ... (when you can't change to another backing device)
Possibly you could just copy (e.g. videoplayer) whats necessary to ramdisk and then run from there ...
cu
Fabian
-
Junior Member
registered user
Ejecting CD
Fabien,
That worked. i.e.
#sudo eject /dev/scd0
It looks like I have to start the video/audio playing program beforehand and then eject the Knoppix CD, put a video/music Cd. Which is ok.
But I tried to remount the Knoppix CD
with
# mount /mnt/cdrom
or
#mount /dev/scd0
But the first gives an error saing no valid fstab entry. Doue he umount remove this entry or what? How can I remount the Knoppix CD after finishing playing a music/video CD.
Thanks
-
Senior Member
registered user
Re: Ejecting CD
Originally Posted by
drmarathe
Fabien,
That worked. i.e.
#sudo eject /dev/scd0
It looks like I have to start the video/audio playing program beforehand and then eject the Knoppix CD, put a video/music Cd. Which is ok.
But I tried to remount the Knoppix CD
Just use:
Code:
sudo mount /dev/scd0 /cdrom
cu
Fabian
-
Senior Member
registered user
Now I find bootfrom
NOTE: All the instructions in this seem to be superceeded by my discovery of bootfrom, I'd done it and written it though so I'm posting them just in case they are useful to anyone!
Of course instead of copying tohd, if you already have the iso on your hd you can just loop mount that, even if the iso is sitting on NTFS!
Code:
knoppix@ttyp0[knoppix]$ sudo su -
# replace /dev/hda2 with the device holding your iso
root@ttyp0[~]# mount /mnt/hda2
root@ttyp0[~]# mkdir /locdrom
# loopback mount the iso
root@ttyp0[~]# mount -o loop /mnt/hda2/1bfree/2burn/knoppix_3.7_PC-Welt.iso /locdrom/
# setup and mount the cloop
root@ttyp0[~]# losetup /dev/cloop1 /locdrom/KNOPPIX/KNOPPIX
root@ttyp0[~]# mount -o ro /dev/cloop1 /KNOPPIX
# now you can umount the cd and eject it
root@ttyp0[~]# umount -l /cdrom
root@ttyp0[~]# eject /dev/scd0
# (optional) fill the /cdrom back in so everything shoudl appear correct
root@ttyp0[~]# mount --bind /locdrom/ /cdrom
Now of course I just have to remember to unmount it all again (but of course it is only mounted read only So it means any poor soul with a machine fully formatted to ntfs and only one cd/dvd drive can download knoppix to the ntfs drive from the devils OS (or if they get a cd can they use rawrite under xp to copy it across? or what other free tool would there be), burn it, boot it, swap in the on-ntfs iso and then eject the cd. Of course I now realise you could just as easily burn it (or stick a cd in the drive) and then copy out the KNOPPIX folder under windows and use fromhd, but where's the fun in that (and it means using double the disc space or deleting the iso)!
Perhaps knoppix-autoconfig should have an option like "fromhd=iso:/dev/hda2" ... wait, when did bootfrom arrive (it's in 3.6 anyway) Looks like all I really needed instead of all the above was "bootfrom=/dev/hda2/1bfree/2burn/k*.iso". It seems Fabian is way ahead of me as always I'll have to look at how bootfrom works! Next stop allowing it to load multiple cloops from cheatcodes (though I guess there is no point until someone builds a suitable second image to load).
Perhaps this post will help someone else realise bootfrom is what they need! I just went and tried it and it boots off the cd, switches to the iso and releases the cd drive (so you can eject the cd), magic!
-
Senior Member
registered user
What about toram?
I can do this on some of my PCs which have about 1GB of RAM. However, most PCs I use won't be able to handle this.
Does anyone know if Damn Small Linux does toram? DSL is a lot like KNOPPIX as its a pared-down remaster that only takes a 50MB ISO! I have used it on occassion on the road to access my DEBIAN server at school so I can use all the apps I want. I never tried toram with DSL. I burn DSL on the 210MB 8cm CDRs, but it could even fit on one of those Business Card or Credit Card sized CDRs.
Just my 2 cents,
AJG
-
Senior Member
registered user
Originally Posted by
A. Jorge Garcia
What about toram?
I can do this on some of my PCs which have about 1GB of RAM. However, most PCs I use won't be able to handle this.
Does anyone know if Damn Small Linux does toram? DSL is a lot like KNOPPIX as its a pared-down remaster that only takes a 50MB ISO! I have used it on occassion on the road to access my DEBIAN server at school so I can use all the apps I want. I never tried toram with DSL. I burn DSL on the 210MB 8cm CDRs, but it could even fit on one of those Business Card or Credit Card sized CDRs.
Just my 2 cents,
AJG
Yea, it has toram. Omly takes a few minutes too.
If it could support my computer I would buy a copy (A. to Help devoplement. B. Because I want one of those creditcard cds that I can't find anywhere.)
-
Senior Member
registered user
I know, the only place I've seen the Business Card CDRs is:
http://cgi.ebay.com/ws/eBayISAPI.dll...123929535&rd=1
Regards,
AJG
-
Senior Member
registered user
hmmm, i ordered some 50Mb Cd's this summer from
http://www.clasohlson.se/
perhaps you could get from there.
EDIT i found some 30Mb (Verbatim ) here
http://www.dataprince.se/webshop/sho...&article=43027
/EDIT
-
killer! thanks a lot for a tip. this "lazy" umount seems to discard "in use" thing.
P.S. the same situation here - hd crashed, and now it seems i could go well without it
Similar Threads
-
By macstrat in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 05-12-2005, 04:40 PM
-
By Mark Walter in forum Hardware & Booting
Replies: 2
Last Post: 07-25-2004, 06:24 PM
-
By redss in forum General Support
Replies: 2
Last Post: 07-10-2004, 04:44 PM
-
By bartavelle in forum Customising & Remastering
Replies: 0
Last Post: 11-27-2003, 05:10 PM
-
By Ambrose in forum General Support
Replies: 1
Last Post: 03-15-2003, 02:24 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell PowerEdge FX2S FC830 Blade Server Chassis Enclosure 2*2000W PSU NO BLADES
$299.99
Dell PowerEdge M620 Blade Server 2x 10C E5-2690v2 64GB Ram 2x 600GB 10k HDD
$125.00
Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W
$399.00
Dell PowerEdge M620 Blade Server 2 x Xeon e5 2665 8 x 16 GB(128) RAM - No HD
$44.99
Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM
$40.00
Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD
$79.00
HP PROLIANT BL460C BLADE SERVER: xeon e5-2697, 256gb ram, 146gb hdd |010-7251958
$80.00
Dell PowerEdge FC830 8-SFF 4*Xeon E5-4669v3 2.1GHz No HDD/RAM Blade Server Node
$199.99
HP P17342-B21 M750 E2286M CTO BLADE SERVER
$269.95
HP ProLiant BL460c Gen9 Blade 2x E5-2690v4 2.6GHz =28 Cores 32GB P246 650FLB
$223.00