LXFDVD156 - dvd2usb.sh Page 111

Comments, suggestions and questions about Linux Format magazine and the coverdiscs

Moderators: ChrisThornett, LXF moderators

LXFDVD156 - dvd2usb.sh Page 111

Postby jbh911 » Thu Mar 15, 2012 5:24 am

Can't make sense of the of the directions given on page 111 associated with the above or from the dvd2usb.html. Could you please give an example .to illustrate what you mean by . with the path suitably modified to fit wherever your DVD has been mounted - without this it's a waste of time.

I'm attempting to get a Linux OS on a USB stick to install on a IBM Thinkpad 600X, hence without the above assistance I'm ... into the wind.

JBH Downunder
jbh911
 
Posts: 12
Joined: Sat Jan 07, 2012 7:31 am
Location: Victoria Australia

Postby towy71 » Thu Mar 15, 2012 9:37 am

This assumes that you already have a working Linux on a computer with a DVD drive and space in your home directory for the DVD image (approx 4.2 gb) put the DVD into the drive then bring up a terminal and type either
Code: Select all
sudo /media/LXFDVD156/dvd2usb.sh
or
sudo bash /media/LXFDVD156/dvd2usb.sh
please note that you can use the tab key to auto-complete the path to the DVD**

**
http://en.wikipedia.org/wiki/Command-line_completion
still looking for that door into summer
User avatar
towy71
Moderator
 
Posts: 4263
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

Postby nelz » Thu Mar 15, 2012 9:56 am

The example is what is given in the text, but the exact location that the DVD contents appear can vary according to the distro and desktop you are using. The example of /media/LXFDVD156 is the most common location, but if the disc's contents show up elsewhere on your system, such as /media/cdrom, change the command accordingly.

Unfortunately, the security policies used to mount DVDs in most systems mean you cannot simply click an icon on the DVD. This would be ideal as there would be no need to know the exact path, but most systems mount DVDs with the ability to run programs and scripts like this disabled. Re-enabling that requires the terminal and knowledge of the disc's mount point, and if you have that you may as well run the script as described.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8496
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK


Return to Magazine and coverdiscs

Who is online

Users browsing this forum: No registered users and 0 guests