LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 01-28-2017, 03:11 AM   #16
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872

Quote:
Originally Posted by Brains View Post
Try the dd command again, and this time, send it to the USB drive, not to /home/solxxxx.
I'm surprised hydrurga didn't catch this one. The "of=" part needs to be the path to the USB drive.

EDIT: The dd command you tried is like right clicking on the .usb file and renaming it with a .iso extension, no need to use dd when all you need to do in your example was to rename it.
Hydrurga didn't catch this one because OP originally gave no indication that he/she wanted to boot off the downloaded .usb in a VirtualBox VM rather than write it to a USB stick (which is where the .usb file is intended to be dd'd). Hence the note in post #2 "it may be something like sdb" and the comment in post #4 "how to install the .usb file to a usb stick". I was as surprised as others when it transpired that the OP wanted to actually boot off the .usb file as an .iso rather than write the file to a USB stick.

Hydrurga is therefore most sorry that he didn't anticipate this as a possibility and change the original Oracle-quoted dd command to "of=/dev/sdb" (although sdb isn't necessarily the USB drive which is why I recommended sudo fdisk -l to determine its actual device name). Although, in the end, it didn't matter, as it transpired that this wasn't what OP actually wanted to do, hence my post #6.

And, breathe out... ;-)
 
Old 01-28-2017, 04:20 AM   #17
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 987

Rep: Reputation: 260Reputation: 260Reputation: 260
So...
What you are saying....
The OP could just burn it to a small partition or virtual drive "file" with dd, then mount that in VB and that would probably solve the issue?
 
Old 01-28-2017, 04:44 AM   #18
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Quote:
Originally Posted by Brains View Post
So...
What you are saying....
The OP could just burn it to a small partition or virtual drive "file" with dd, then mount that in VB and that would probably solve the issue?
Given the circumstances, I think the OP should take the path of least resistance and ask their friend to download the .iso version for them and use that in VirtualBox.

However, if I were in the same situation, I personally would at least try dd'ing the .usb file to a physical usb stick and launch a VirtualBox VM from it. I've never tried this before but there are instructions on the web on how to do it.

Last edited by hydrurga; 01-28-2017 at 04:45 AM.
 
Old 01-28-2017, 04:49 AM   #19
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Quote:
Originally Posted by Shadow_7 View Post
The .usb probably contains some partition and bootloader stuff. You might be able to use split to segment off the part you want. Or dd it to an actual drive and grab just the partition part. Or download the preferred thing from the source and ignore that file. Unless you're on dialup or something the later is probably best, or at least most probable to work.
Interestingly, the x86 Live Media .iso on the downloads page http://www.oracle.com/technetwork/se...l-2245079.html is 1.1GB, while the .usb file is 1.4GB. Goodness knows why there is such a difference.
 
Old 01-28-2017, 05:08 AM   #20
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 987

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by hydrurga View Post
However, if I were in the same situation, I personally would at least try dd'ing the .usb file to a physical usb stick and launch a VirtualBox VM from it. I've never tried this before but there are instructions on the web on how to do it.
Damn straight!
 
Old 01-29-2017, 09:01 AM   #21
some3020
LQ Newbie
 
Registered: Dec 2016
Distribution: Mint & solaris
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thank you soooo much dear friends. the command dd perfectly worked when i have changed the destination to physical USB stick. (And I had to run some extra commands to make vm run directly from physical USB stick (for the information, this is the command "sudo VBoxManage convertfromraw /dev/sdb ./usb.vmdk --format vmdk")
Finally I got it work because of you guys
Many thanks for all of you.
 
Old 01-29-2017, 09:05 AM   #22
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Quote:
Originally Posted by some3020 View Post
Thank you soooo much dear friends. the command dd perfectly worked when i have changed the destination to physical USB stick. (And I had to run some extra commands to make vm run directly from physical USB stick (for the information, this is the command "sudo VBoxManage convertfromraw /dev/sdb ./usb.vmdk --format vmdk")
Finally I got it work because of you guys
Many thanks for all of you.
Nice one. Glad it worked!
 
  


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
[SOLVED] OpenSSL PHP extension have to be enabled to use extension repository system. jsaravana87 Linux - Server 2 09-09-2011 01:00 AM
USB Extension cable Unknown hijacking Linux - Hardware 1 09-07-2005 04:45 PM
STRANGE!: Usb Extension cable fixes broken USB2 ? qwijibow Linux - Hardware 2 08-24-2005 08:12 PM
STRANGE!: Usb Extension cable fixes broken USB2 ? qwijibow Linux - Hardware 2 08-24-2005 04:39 PM
Flash Card USB Extension Cable troubles weiss Linux - Hardware 1 12-02-2004 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration