Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Trying to edit acronis rescue cd. It is easy to change any file in the initial ramdisk. But any changes have little to no effect because acronis launches their own proprietary binary for most tasks. However, that binary allows you to output system information, which includes something that looks like the output of df:
Code:
Filesystem Size Used Available Use Mounted on
/dev 472.1M 0 472.1M 0% /dev
/dev/sr0 309.8M 309.8M 0 100% /mnt/cd_sxmkEc
What does the first line mean in normal df output?
Note: the CD is booted in a VM with 1024 MB of ram, two hard drives of 4 GB and 50 GB with empty partitions, and a usb flash drive of 8 GB where 1.8 GB are occupied with data.
Not sure I am following what you are asking here but if you are asking what I think then all anyone can say is read the top line. It is self explanatory.
On a side note if you are going to post things that are formatted then you should enclose them in CODE tags so the foramt isn't lost, i.e.,
What is self-explanatory? That a device called /dev is mounted on a directory called /dev? Where's the usb flash stick device then? And where is it mounted?
...acronis launches their own proprietary binary for most tasks... that binary allows you to output system information, which includes something that looks like the output of df:
Code:
Filesystem Size Used Available Use Mounted on
/dev 472.1M 0 472.1M 0% /dev
/dev/sr0 309.8M 309.8M 0 100% /mnt/cd_sxmkEc
What does the first line mean in normal df output?
Well, if it were normal df output it would appear to mean that a filesystem device /dev is mounted on directory /dev. In normal df output that would make no sense, at least to me. But you have already acknowledged that it is not normal df output, only something generated by Acronis' proprietary binary that looks like the output of df.
So the only useful answer I can see would have to be, ask Acronis what that means and why your other devices are not shown.
remember, /dev is not a real device, but you can find all the available devices under /dev. So actually there is nothing to write as filesystem, because that is a virtual one (and also it is a "strange" one, because it has no driver ... ).
What is self-explanatory? That a device called /dev is mounted on a directory called /dev? Where's the usb flash stick device then? And where is it mounted?
Good question. Doesn't your Acronis mount usb automatically? What OS do you have installed on your system?
I'd like to mount the usb drive and write to it, how is that done if /dev is already used as the mount directory of device /dev?
Yes, and your root directory is mounted to /. Does it mean you cannot use your root directory and all its subdirectories?
Device filesystem is mounted to /dev, it contains all devices present in your system.
The Acronis Rescue live CD operating system is said by Acronis to be linux. It mounts usb drives and internal hard drives automatically and names them C:, D:, etc to avoid intimidating windows newbies. Somewhere in the files produced by the system information feature it shows the output of fdisk -l like this:
Code:
Disk /dev/sda: 4294 MB, 4294967296 bytes
255 heads, 56 sectors/track, 587 cylinders
Units = cylinders of 14280 * 512 = 7311360 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 587 4191152 b Win95 FAT32
Disk /dev/sdb: 53.6 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 6528 52427776 7 HPFS/NTFS
Disk /dev/sdc: 8287 MB, 8287944704 bytes
158 heads, 46 sectors/track, 2227 cylinders
Units = cylinders of 7268 * 512 = 3721216 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 2228 8092672 b Win95 FAT32
So the usb stick seems to be /dev/sdc1 internally.
What are you running i.e VirtualBox, VMware etc? Did you enable a USB port in the VM configuration and did you connect the flash drive to the VM? Does the drive show up in the output of the dmesg command?
I have not used Acronis but assume if the above conditions are meet then a device ID like /dev/sdc will automatically be created in /dev and that you can mount it anywhere in the directory tree like /mnt/flash.
I see that you have discovered the flash drive is recognized. So go ahead and manually mount it.
The backup feature can read from or write to the usb drive so it is definitely mounted, no issues with that.
But there is something funny about my tool for live CD editing. You can delete the entire directory tree and save the .iso, and if you then mount it or open it with isomaster, no files appear to be present. But it boots and works normally!
Isomaster by itself cannot be used for editing because the resulting .iso fails to boot, even if you do not modify anything. It says:
Starting Acronis Loader...
Boot failed, press any key...
Why might this be? What's an alternative tool that might work?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.