Tiny Core Linux
Tiny Core Base => CorePlus => Topic started by: T-one on August 10, 2018, 09:47:46 PM
-
Hi all,
I have managed to install tinycore on the harddrive of my first laptop. So far things come along quite nice.
I have never used busybox before and would like to give it a try. I'm unable to use my cd drive, can't find it in the file system.
How can I get hardware information in BusyBox? eg lshw?
I had installed from USB disk and never payed attention to the CDROM. It spins when I put a disk in.
Any suggestions on how to tackle this?
-
Hi T-one
I'm unable to use my cd drive, can't find it in the file system.
Click on the Mount icon (looks like a hardrive). When the mount app pops up, try clicking on sr0 to mount the CD. It should
then be accessible through /mnt/sr0.
How can I get hardware information in BusyBox? eg lshw?
Click on the Apps icon and install lshw.tcz. You might also find pci-utils.tcz and usbutils.tcz of interest.
If you want to see what busybox provides, enter busybox at the command line.
-
I had tried to mount the drive with no cd in it. I'm migrating from Windows ;D
But still not out of the woods.
tc@box:~$ eject /mnt/sr0
eject: /mnt/sr0: Inappropriate ioctl for device
I can view the directories but cannot load the files in VLC etc.
VLC and Brasero report similar errors and make references to log files.
cd /var/log
total 4
-rw-r--r-- 1 root root 0 Aug 11 19:39 autologin
-rw-rw-r-- 1 root staff 2304 Aug 11 19:45 wtmp
Not helpful. What is staff? it's not a directory?
Where would extensions put their log files?
Also, how can I assign a file type to a program, eg video --> VLC , png --> xzvg etc.
Regards,
-
Hi T-one
I had tried to mount the drive with no cd in it. I'm migrating from Windows
You can't mount it without a CD in it.
tc@box:~$ eject /mnt/sr0
eject: /mnt/sr0: Inappropriate ioctl for device
Try:
eject /dev/sr0
-
Hi Rich, thanks for your reply,
eject /dev/sr0 worked.
However, it locks up the CD drive. After inserting a new disc, I'm unable to remove the disc. Pushing the button on the caddy does nothing either.
Rebooting will let me mount the drive once again. But.....
tc@box:~$ eject /dev/sr0
tc@box:~$ mount /mnt/sr0
mount: mounting /dev/sr0 on /mnt/sr0 failed: Input/output error
tc@box:~$ mount /mnt/sr0
mount: mounting /dev/sr0 on /mnt/sr0 failed: Input/output error
tc@box:~$ umount sr0
umount: can't unmount sr0: Operation not permitted
tc@box:~$ umount /dev/sr0
umount: can't unmount /dev/sr0: Operation not permitted
tc@box:~$ sudo umount /mnt/sr0
umount: can't unmount /mnt/sr0: Invalid argument
regards
-
..However, it locks up the CD drive. After inserting a new disc, I'm unable to remove the disc. Pushing the button on the caddy does nothing either.Rebooting will let me mount the drive once again. But.....
... umount: can't unmount /mnt/sr0: Invalid argument.
..My experience :
In old linux distros , not able to eject a CD/DVD ROM was a bug. In new distros, it was posible to eject CDROM *with a CD in the drive* , but once the CD/DVD ROM is used to write a CD/DVD , then the eject function stops working, untill the reboot system. Also a bad storage media - like corrupt cd / dvd can cause this problem...
Sometime following was useful :
1) In the Terminal, type: sudo eject -i off
2) Go to file manager and right-click the CD/DVD drive and select "eject"
-
Hi T-one,
After a fresh restart of the system, install and use spacefm file manager, to solve all your, problems reported above, viz :
1. Type /mnt in its address bar, press enter key and then right click sr0 to eject it
2. Double click files and create private file associations in it, for opening with specific applications
3. Customise everything in this FM including no. of panels, their widths, edit menu - preferences etc
4. Finally take a backup with the filetool to save all these settings
spacefm resembles windows explorer in all aspects and much more. I thank the tiny core team for preserving this wonderful application.
-
eject /dev/sr0 worked.
However, it locks up the CD drive. After inserting a new disc, I'm unable to remove the disc. Pushing the button on the caddy does nothing either.
Rebooting will let me mount the drive once again. But.....
I don't know why your drive "locks up", but you can't mount a blank disc.
-
Thanks for all your contribution.
Ok, I have transpired all your suggestions and I have made some progress.
Installing SpaceFM went very smooth. This is a nice file manager but it will take me a while to completely configure.
However, my problem is still present. I tried a photo cd and I can mount and view pictures by clicking on the pictures,
the pictures willl open in xzgv as you would expect. I can remove and install the disk as expected. However, I cannot
umount the drive. Manually ejecting disk (button on caddy) works, but mount tool always shows SR0 as mounted.
Installing a DVD (commercial movie) mount tool says drive is mounted SpaceFM lists SR0 as not mounted. Movie does not starts, no output. Starting VLC and navigating to SR0 shows no media.
tc@box:~$ umount /dev/sr0
umount: /dev/sr0: not mounted.
tc@box:~$ mount /dev/sr0
mount: /mnt/sr0: can't read superblock on /dev/sr0.
tc@box:~$ mount /dev/sr0
mount: /mnt/sr0: can't read superblock on /dev/sr0.
*-cdrom
description: DVD-RAM writer
product: CD/DVDW TS-L632D
vendor: TSSTcorp
physical id: 0.0.0
bus info: scsi@3:0.0.0
logical name: /dev/cdrom
logical name: /dev/dvd
logical name: /dev/scd0
logical name: /dev/sr0
version: TO04
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=open
Once movie is removed drive is locked until reboot
-
Hi T-one
... Manually ejecting disk (button on caddy) works, but mount tool always shows SR0 as mounted. ...
You can't eject a mounted device, so the CD was not mounted when you pressed the button. The mount tool does
not auto update if a device is unmounted by another means. Clicking the mount tools Refresh button will make it
display correctly again.
-
I have verified that cdrom works for data and pic files. can access and open files from command line. Ejecting and re inserting disks for these file types works. This works for commercial cd's as well as for home spun disks.
When inserting a movie or music cd(commercial disks) I have no control over cd drive. Can't cd to the sr0 nothing.
I googled quite extensively and found a thread on Ubunto forum relating to this bug. The solution apparently is to revert to a earlier package.
I'm abandoning this thread for now. The suggested fix is beyond my current knowledge of linux. Hoever, I will continue to explore Tinycore with this test laptop.
-
Hi T-one
... When inserting a movie or music cd(commercial disks) I have no control over cd drive. Can't cd to the sr0 nothing. ...
Audio/video discs don't have mountable file systems and are not browse-able that way. You need to use a music or video
program to access the contents.