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.
How would you recommend I copy a DVD? Note that it is a Windows bootable DVD (Don't know if that maters). Also, I wish to delete one file from the DVD before ripping it. Thank you
Edit. I am trying the following:
#Insert original DVD
#Confirm I want dvd and not dvdrw. I probably should use the -t flag and specify file type (which one?)
mount /dev/dvd /mnt/dvd
dd if=/dev/dvd of=~/windows.iso
mount -o loop ~/windows.iso /media/windows
# Edit files
#Insert blank DVD
mount /dev/dvd /mnt/dvd
growisofs --dvd-compat -Z /dev/dvd=~/windows.iso
Last edited by NotionCommotion; 04-01-2014 at 09:31 AM.
Even though you should be able to mount the iso via loopback, I don't think you will be able to edit it unless the ISO has free space (and the filesystem knows it), AND it isn't a 9660 or udf filesystem.
If it is from a DVD/CD it is likely a 9660/udf read only filesystem... and that would require first copying it to a regular filesystem, then edit, then create a new iso in the target filesystem format... adding the boot block.
The -o loop is required. In a nutshell this allows the ISO file to look like a regular block device. i.e. if you actually mounted the original DVD. As stated the mounted ISO file system is read only so you will need to copy the files to another directory to remove the file. However, if you just burn the files to DVD it it will not be bootable. You need to add the boot block back.
When I earlier mounted a blank DVD, Linux "guessed" the right filetype. This time I am not so lucky. Suggestions? Also, please let me know what is different between /dev/dvd and /dev/dvdrw.
[root@michaels dev]# mount /dev/dvd /mnt/dvd
mount: you must specify the filesystem type
[root@michaels dev]# mount -t iso9660 /dev/dvd /mnt/dvd
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
While i have not edited bootable iso file, for backup, i always make iso file of cd/dvd which comes along purchase of books. I can't remember from which website i got this, but here is a way to create a perfect iso file from cd/dvds.
if this is a Microsoft OS install dvd
it is illegal in the USA and in the EU , and most of the world to bypass the DRM
in the USA it is a violation of the DMCA to do so .
Microsoft Windows DVDs are not copyprotected and Microsoft freely provides documentation and tools to create modified/customized installation media, so I don't see why removing a file from the DVD should be illegal.