"Simple"??? Solved!!!

Forum rules
Before you post please read this

"Simple"??? Solved!!!

Postby Meteor on Tue Mar 13, 2012 1:37 pm

"How to Install Linux Mint via USB" by Clem has been read, copied onto paper for easy reference and utilized. For me, it doesn't work. Clem's instructions on screen appeared to simple... until I tried to do it. Here's what I entered;

sudo dd if=~/home/downloads/linuxmint-12-lxde-cd-32bit-rc.iso of=/dev/sdb =1048576

Here's the response I got:

"dd: unrecognized operand `=1048576'
Try `dd --help' for more information".

So I tried:

Code: Select all
dd --help
Usage: dd [OPERAND]...
  or:  dd OPTION
Copy a file, converting and formatting according to the operands.

  bs=BYTES        read and write BYTES bytes at a time (also see ibs=,obs=)
  cbs=BYTES       convert BYTES bytes at a time
  conv=CONVS      convert the file as per the comma separated symbol list
  count=BLOCKS    copy only BLOCKS input blocks
  ibs=BYTES       read BYTES bytes at a time (default: 512)
  if=FILE         read from FILE instead of stdin
  iflag=FLAGS     read as per the comma separated symbol list
  obs=BYTES       write BYTES bytes at a time (default: 512)
  of=FILE         write to FILE instead of stdout
  oflag=FLAGS     write as per the comma separated symbol list
  seek=BLOCKS     skip BLOCKS obs-sized blocks at start of output
  skip=BLOCKS     skip BLOCKS ibs-sized blocks at start of input
  status=noxfer   suppress transfer statistics

BLOCKS and BYTES may be followed by the following multiplicative suffixes:
c =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M
GB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y.

Each CONV symbol may be:

  ascii     from EBCDIC to ASCII
  ebcdic    from ASCII to EBCDIC
  ibm       from ASCII to alternate EBCDIC
  block     pad newline-terminated records with spaces to cbs-size
  unblock   replace trailing spaces in cbs-size records with newline
  lcase     change upper case to lower case
  nocreat   do not create the output file
  excl      fail if the output file already exists
  notrunc   do not truncate the output file
  ucase     change lower case to upper case
  swab      swap every pair of input bytes
  noerror   continue after read errors
  sync      pad every input block with NULs to ibs-size; when used
            with block or unblock, pad with spaces rather than NULs
  fdatasync  physically write output file data before finishing
  fsync     likewise, but also write metadata

Each FLAG symbol may be:

  append    append mode (makes sense only for output; conv=notrunc suggested)
  direct    use direct I/O for data
  directory  fail unless a directory
  dsync     use synchronized I/O for data
  sync      likewise, but also for metadata
  fullblock  accumulate full blocks of input (iflag only)
  nonblock  use non-blocking I/O
  noatime   do not update access time
  noctty    do not assign controlling terminal from file
  nofollow  do not follow symlinks

Sending a USR1 signal to a running `dd' process makes it
print I/O statistics to standard error and then resume copying.

  $ dd if=/dev/zero of=/dev/null& pid=$!
  $ kill -USR1 $pid; sleep 1; kill $pid
  18335302+0 records in
  18335302+0 records out
  9387674624 bytes (9.4 GB) copied, 34.6279 seconds, 271 MB/s

Options are:

      --help     display this help and exit
      --version  output version information and exit

Report dd bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
For complete documentation, run: info coreutils 'dd invocation'

Nowhere in this vast verbiage does it address why "1048576" seems to be causing a situation. Do I somehow need to change that number to something else? If so, how do I find out what it should be? Is the fact that I didn't use "/Desktop/linuxmint.iso" at the begining a factor? I felt that I should tell the computer where the file is actually residing.

The "tutorial" doesn't appear to be as"simple" as it states... Also, I'm assuming that there are two spaces between the word "direct" and the "1048576" that bash doesn't seem to like. It looks like two spaces on my screen and on the printed copy that I made.

"Simple" appears to be avoiding me somehow. What have I really missed or misinterpreted?

Meteor
Last edited by Meteor on Wed Mar 14, 2012 11:53 am, edited 2 times in total.
Meteor
Level 3
Level 3
 
Posts: 123
Joined: Wed Nov 22, 2006 12:37 pm
Location: Canada, eh!

Linux Mint is funded by ads and donations.
 

Re: "Simple"???

Postby xenopeek on Tue Mar 13, 2012 2:00 pm

Good catch, I've notified Clem of the typo :wink: I'm assuming you are referring to this tutorial: http://community.linuxmint.com/tutorial/view/744. 10 lines down from where the command ends in " =1048576", it has the proper command: "sudo dd if=~/Desktop/linuxmint.iso of=/dev/sdb oflag=direct bs=1048576".

So in your case, it should be:
Code: Select all
sudo dd if=~/home/downloads/linuxmint-12-lxde-cd-32bit-rc.iso of=/dev/sdb oflag=direct bs=1048576

The tutorial also shows how you can use imageWriter as a GUI to do this instead.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14889
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: "Simple"???

Postby Meteor on Tue Mar 13, 2012 9:42 pm

Thanks for the suggestion Vincent, however, Bash still tells me she ain't gonna work. To wit:

sudo dd if=~/wak/home/downloads/linuxmint-12-lxde-cd-32bit-rc.iso of=/dev/sdb oflag=direct bs=1048576
dd: opening `/home/wak/wak/home/downloads/linuxmint-12-lxde-cd-32bit-rc.iso': No such file or directory **
$ sudo dd if=~/downloads/linuxmint-12-lxde-cd-32bit-rc.iso of=/dev/sdb oflag =direct bs=1048576
dd: unrecognized operand `oflag'
Try `dd --help' for more information.
$ sudo dd if=~/downloads/linuxmint-12-lxde-cd-32bit-rc.iso =direct bs-1048576
dd: unrecognized operand `=direct'
Try `dd --help' for more information.

** The downloaded ISO of Linux Mint 12 LXDE exists in the "Download" file on Lisa KDE 12, the OS that is running. If I download anything, it is directed to /home/downloads and Dolphin says it's there. My initials (wak) do not appear on screen but even if I add them, "dd" still tells me that it has an "unrecognized operand" of various descriptions. I tried doing this by dropping various verbiage but it still tells me that there is a (different) "unrecognized operand".

This "simple" procedure has me totally baffled. I can't think of any other way to "word" the "command" (if that's what the verbiage is) and make a live USB. I also am totally confused as to why bash is insisting on showing the file location as "/wak/home/downloads" and "/home/wak/wak/home/downloads" when I never typed that and Dolphin doesn't show anything other than /home/downloads/. It seems as though I'm just spinning in circles. Perhaps whatever "imagewriter" is should be used and not a "simple" programme...

Does that mean I need to add another programme to my system? Will "imagewriter" actually work without question?

A might frustrated,
Meteor
Meteor
Level 3
Level 3
 
Posts: 123
Joined: Wed Nov 22, 2006 12:37 pm
Location: Canada, eh!

Re: "Simple"???

Postby tdockery97 on Tue Mar 13, 2012 10:28 pm

Meteor wrote:sudo dd if=~/wak/home/downloads/linuxmint-12-lxde-cd-32bit-rc.iso of=/dev/sdb oflag=direct bs=1048576
dd: opening `/home/wak/wak/home/downloads/linuxmint-12-lxde-cd-32bit-rc.iso': No such file or directory **
$ sudo dd if=~/downloads/linuxmint-12-lxde-cd-32bit-rc.iso of=/dev/sdb oflag =direct bs=1048576
dd: unrecognized operand `oflag'
Try `dd --help' for more information.
$ sudo dd if=~/downloads/linuxmint-12-lxde-cd-32bit-rc.iso =direct bs-1048576
dd: unrecognized operand `=direct'
Try `dd --help' for more information.

It doesn't look like any of your attempted commands matches exactly what vincent suggested that you type. That could be part of the problem.
Image

HP Pavilion 17 Notebook, 8GB DDR3, 2.5GHZ A10-APU, Radeon HD 8650G
User avatar
tdockery97
Level 13
Level 13
 
Posts: 4886
Joined: Sun Jan 10, 2010 8:54 am
Location: Salem, Oregon

Re: "Simple"???

Postby xenopeek on Wed Mar 14, 2012 4:16 am

Your second attempt looks best, but you have insert a space after oflag and that doesn't work. And normally the downloads directory is called Downloads, and filenames on Linux are case sensitive... So it would be more likely this will work:
Code: Select all
sudo dd if=~/Downloads/linuxmint-12-lxde-cd-32bit-rc.iso of=/dev/sdb oflag=direct bs=1048576

Finally, why are you using the release candidate (rc) instead of the final version? There are still some issues in the release candidate. I'd say, get the final version: http://www.linuxmint.com/edition.php?id=98
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14889
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: "Simple"???

Postby xenopeek on Wed Mar 14, 2012 7:36 am

The typo in the tutorial http://community.linuxmint.com/tutorial/view/744 has been corrected by Clem.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14889
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: "Simple"???

Postby Meteor on Wed Mar 14, 2012 11:51 am

This was most certainly an experience -- a very good learning experience. This message is being produced from the LiveUSB of Mint LXDE. Vincent, your assistance and patience plus very concise explanations finally enabled me to get LXDE onto a USB. It boots and is running very nicely. I shall play more with it later on in the day.

Thank you. This is why I've been using Mint as my OS for a number of years! I feel I have learned a great deal.

Much appreciated,
Meteor
Canada, eh!
Meteor
Level 3
Level 3
 
Posts: 123
Joined: Wed Nov 22, 2006 12:37 pm
Location: Canada, eh!

Linux Mint is funded by ads and donations.
 

Return to Others

Who is online

Users browsing this forum: No registered users and 2 guests