LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-12-2009, 01:34 PM   #1
ADDn00b
Member
 
Registered: Sep 2007
Location: Buckeye Nation
Distribution: Fedora 34
Posts: 51

Rep: Reputation: 16
ONE on a 16GB thumb drive


Ernie posted this in response to another question, and I wanted to try this since it seems I have the worst luck in the world keeping a computer operating

Anyway, here's the quote:
"New with Mandriva 2009.1 (Spring) is the fact that the Mandriva One iso image is a 'hybrid' image file that can be burnt to a CD or DVD disk as an iso image but it can also be copied to a USB Flash Drive as if it were an img file using the dd command from a command prompt in Linux. I have not tried this, but I believe you should be able to use rawrite in windows."

Can anyone give me a link to a tutorial for this? Thanks!
 
Old 05-12-2009, 03:52 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
I imagine it would go something like this:
  1. Plug in your USB mass storage device.
  2. See what block device it is. (See output of dmesg. It should be something like /dev/sdb.)
  3. Use dd to put the image on said block device (as root):
    Code:
    dd if=/path/to/image.iso of=/dev/sdb
  4. Reboot your system with the USB drive plugged-in, having appropriately configured your BIOS to boot from USB.
 
Old 05-14-2009, 12:14 AM   #3
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
After reading the directions from Mandriva in the MDV-2009.1-rc2 posting, I created the following command line:

dd if=/home/$USER/mandriva-linux-one-2009.1-KDE4-europe1-americas-cdrom-i586.iso of=/dev/sdb bs=8M

A breakdown of the command above follows:

dd - the name of the program that will be used to write the contents of the file to the uSB thumb drive

if= - input file (The source file or device containing data to be written)
Note1: /home/$USER should be replaced with the actual path to the source file.
Note2: mandriva-linux-one-2009.1-KDE4-europe1-americas-cdrom-i586.iso should be replaced with the actual name of the iso image you will use as the source file.

of= - output file (The destination file or device to which data will be written)
Note3: /dev/sdb should be replaced with the actual device node for your USB thumb drive

bs=BYTES - read ans write BYTES bytes at a time (Mandriva directed to write 8M bytes at a time)

See the dd manual page (man dd) for more complete usage information
 
Old 05-15-2009, 04:59 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by ernie View Post
bs=BYTES - read ans write BYTES bytes at a time (Mandriva directed to write 8M bytes at a time)
Hmm… I wonder if this is absolutely necessary or was suggested by the Mandriva people because 8M is a naturally fast buffer size for usb-storage devices.
 
Old 06-10-2009, 12:51 PM   #5
ADDn00b
Member
 
Registered: Sep 2007
Location: Buckeye Nation
Distribution: Fedora 34
Posts: 51

Original Poster
Rep: Reputation: 16
Ernie,
As usual, you are da bomb diggity. Thank you!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
Only root can automount CD drive and USB thumb drive km4hr Red Hat 3 03-25-2009 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration