To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

http://justlinux.com/   Mon, 23-Nov-2009 03:15:41 GMT
         internet.com

Go Back   JustLinux Forums > Community Help: Check the Help Files, then come here to ask! > Software

Software Software installation/configuration/troubleshooting help

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-10-2006, 06:05 PM
AwesomeMachine AwesomeMachine is offline
Registered User
 
Join Date: Jan 2006
Posts: 1
Arrow Learn The DD Command

This is by far the most useful linux command there is, and almost no one knows about it. It comes with every linux distro, old or new, and all UNIX. It has been around since the 1970's. Here is a link to the best dd tutorial.

http://www.linuxquestions.org/questi...d.php?t=362506
Reply With Quote
  #2  
Old 01-10-2006, 07:05 PM
saikee's Avatar
saikee saikee is offline
moderator
 
Join Date: Jun 2004
Location: Newcastle upon Tyne
Posts: 2,450
Welcome AwesomeMachine,

You should find the standard here is higher than LQ and many members are pretty good in playing tunes with "dd", but not making it sing and dance as much as you do.

It is one of the wonders in Linux to me. Everybody knows Linux doesn't write on a NTFS partition but with "dd" we can clone a Xp system.
__________________
Linux user started Jun 2004 - No. 361921
Using a Linux live CD to clone XP
To install Linux and keep Windows MBR untouched
Adding extra Linux & Doing it in a lazy way
A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
Just cloning tips Just booting tips A collection of booting tips

Judge asked Linux "You are being charged murdering Windoze by stabbing its heart with a weapon, what was it?" Replied Linux "A Live CD"
Reply With Quote
  #3  
Old 01-10-2006, 08:03 PM
CaptainPinko's Avatar
CaptainPinko CaptainPinko is offline
Red Star Commander
 
Join Date: Jan 2003
Location: Canada
Posts: 813
Quote:
Originally Posted by saikee
Everybody knows Linux doesn't write on a NTFS partition but with "dd" we can clone a XP system.
I bring you miracle of 2.6.15 :
Quote:
NTFS write support: NTFS finally implements write support so "vim /ntfs/foo.txt" works. You can write(2) to a file even beyond the end of the existing file. Resident non-resident files and are supported. Sparse files can also be written and holes will be filed appropriately. truncate(2), ftruncate(2) and open(2) with O_TRUNC flag also works.
however:

Quote:
There're some limitations with heavily fragmented files which you won't be allowed to change. Also, notice that creation/deletion of files and directories is still not supported and mmap(2) based writes is still not complete
But I think this means we are getting awfully close.

Cheers.
__________________
Please use your spare cpu cycles to help a good cause (its free!!1)... http://folding.stanford.edu

BSD, Java, and Functional Programming fan.
Reply With Quote
  #4  
Old 01-10-2006, 08:53 PM
saikee's Avatar
saikee saikee is offline
moderator
 
Join Date: Jun 2004
Location: Newcastle upon Tyne
Posts: 2,450
Captain Pinko,

Thanks for the tip.

I seldom have a need to write on a NTFS because I keep my personal data in a Fat32 partition accessible by all systems. Had tried out a few alternatives like Captive write etc but not always yield results.

My prediction is a lot of damage can be done to XP and Win2k if there is no hurdle to write on NTFS partitions by the newcomers.

We may be able to make a living out of just advising users how to salvage the Winodws systems.
__________________
Linux user started Jun 2004 - No. 361921
Using a Linux live CD to clone XP
To install Linux and keep Windows MBR untouched
Adding extra Linux & Doing it in a lazy way
A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
Just cloning tips Just booting tips A collection of booting tips

Judge asked Linux "You are being charged murdering Windoze by stabbing its heart with a weapon, what was it?" Replied Linux "A Live CD"
Reply With Quote
  #5  
Old 01-11-2006, 12:27 AM
CyberCat's Avatar
CyberCat CyberCat is offline
Prodigal Kitty Cat
 
Join Date: Apr 2003
Posts: 55
Quote:
This is by far the most useful linux command there is, and almost no one knows about it. It comes with every linux distro, old or new, and all UNIX. It has been around since the 1970's. Here is a link to the best dd tutorial.
Thanks so much! I've been looking all over to find out how to make a bootable usb of an image file. I figured it was with dd but some places I found said to use cat > (I think that was for extracting actually)

Anyway thanks!
__________________
Curiosity killed the cat... but not the CyberCat!

Registered Linux User: #376544
Reply With Quote
  #6  
Old 10-16-2009, 04:25 PM
Mercian Mercian is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
DD and ISO Images

Hello all, this is my firs posting here. I would like to burn a CD ISO image (less than 700MB) onto my 16GB USB flash drive so I can boot into that distribution on my Asus Eee PC laptop (no CD/DVD drive). Since I am new to the dd command I am hesitant to do it right now as I don't want to wipe the HDD on this computer. I would like to be able to store other files on the disc after the image has been written to it. Would I need to create a CD sized partition on it or won't that make any difference?

Can someone help me please?

Thanks in advance.

M.
Reply With Quote
  #7  
Old 10-16-2009, 09:56 PM
saikee's Avatar
saikee saikee is offline
moderator
 
Join Date: Jun 2004
Location: Newcastle upon Tyne
Posts: 2,450
Mercian,

Welcome to Justlinux!


You don't dd an iso image.

You mount the iso image on a loopback device so that you can see all the files and folders. You can then do drag and drop into your flash drive.

The iso image comes with isolinux which for booting from a CD/DVD. Therefore you need to change it to a disk based boot loader like Grub.

You may find this thread useful. The thread has an extension on how to put several iso on a USB drive.
__________________
Linux user started Jun 2004 - No. 361921
Using a Linux live CD to clone XP
To install Linux and keep Windows MBR untouched
Adding extra Linux & Doing it in a lazy way
A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
Just cloning tips Just booting tips A collection of booting tips

Judge asked Linux "You are being charged murdering Windoze by stabbing its heart with a weapon, what was it?" Replied Linux "A Live CD"
Reply With Quote
  #8  
Old 10-17-2009, 09:05 AM
retsaw retsaw is offline
Registered User
 
Join Date: Apr 2003
Location: UK
Posts: 1,160
Unetbootin is a useful tool for creating a bootable USB stick from an .iso file. It's easy to use and has worked for me every time I've tried it, but it doesn't preserve the boot menu from the CD and will only let you put one bootable .iso per USB drive AFAIK. Due to these limitations I tend to prefer copying the files and using syslinux to boot it (since syslinux can use the isolinux configuration file with a simple name change), but that is a bit more work that using unetbootin.
Reply With Quote
  #9  
Old 10-17-2009, 09:42 AM
mike_flow's Avatar
mike_flow mike_flow is offline
Registered User
 
Join Date: May 2005
Location: Xalapa, Mex.
Posts: 65
Live USB creator

Mercian:

I haven't tried this program yet, but seems useful. I know it runs on windows, but if you have wine installed you might be able to use it on linux.

http://www.linuxliveusb.com/

Greetings
Reply With Quote
  #10  
Old 10-17-2009, 11:07 AM
Mercian Mercian is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
Thanks for your help, they seem like just the ticket I shall get started right away. I plan to use it to install Linux from Scratch onto my laptop and use it as a test-bed machine from which to learn more about Linux

M.
Reply With Quote
  #11  
Old 10-27-2009, 05:21 AM
blackbelt_jones's Avatar
blackbelt_jones blackbelt_jones is offline
nonguru
 
Join Date: Oct 2002
Location: Binghamton NY
Posts: 2,340
Linux is case sensitive, so it's not just nitpicking to point on that you've got DD where you should have dd. Or am I confused somehow?
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 11:15 PM.

Help File Library
Fonts
Hardware
Webservers
Filesystems
Software
More



internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers




internet.commerce
Be a Commerce Partner












Linux is a trademark of Linus Torvalds.

Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy

Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.