LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-20-2011, 03:33 PM   #1
cmj1974
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Rep: Reputation: 0
what does this mean??


Hi
I am new to Linux, I am installing it from a .dd file on to a CF card, after extracting it to the CF card and try to run it, I get this message:

mount: /dev/sda1 is not a valid block device
/system_partition/rootfs.iso: no such file or directory
mount: mount point /new_root/mnt does not exist
mount: mount point /new_root/proc does not exist
run-init: current directory on the same filesystem as the root : error 0

Can somebody help me understand this or how I can fix this?

Any information will be helpful
Thank you in advance

Last edited by cmj1974; 04-20-2011 at 03:34 PM. Reason: typo
 
Old 04-20-2011, 04:15 PM   #2
MBybee
Member
 
Registered: Jan 2009
Location: wherever I can make a living
Distribution: PC-BSD / FreeBSD / Debian / Ubuntu / Win7 / OpenVMS
Posts: 438

Rep: Reputation: 57
If you're doing a dd, what command did you run?
 
Old 04-20-2011, 05:43 PM   #3
cmj1974
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Original Poster
Rep: Reputation: 0
dd if=filename.dd of=/dev/sdb
 
Old 04-21-2011, 09:17 AM   #4
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.0 at present.
Posts: 1,168

Rep: Reputation: 201Reputation: 201Reputation: 201
I could be talking absolute cr*p here but doesn't DD only work with disks with similar geometry and size? I'm not sitting at my Linux system and "man" doesn't appear to work on XP. What type/size is your source device and what size is your CF?

DD gives you an image copy, doesn't it, so it should be identicle to the original, therefore to boot it it needs to be discovered by the system in the same place. Huh? Wha...? Like replacing the system disk with one you've dd'd the original onto. If the copy is of sda, the new bootable disk must be sda. (Those wishing to correct me, please form an orderly queue... )

My

Play Bonny!
 
Old 04-21-2011, 09:32 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by Soadyheid View Post
I could be talking absolute cr*p here but doesn't DD only work with disks with similar geometry and size?
It should be no problem to dd an image to a disk that is as large or larger as the original.

Quote:
If the copy is of sda, the new bootable disk must be sda.
You are right, may be the OP has to change the entries in the bootloader's configuration file and in /etc/fstab to the new location.
 
Old 04-21-2011, 09:40 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I thought that dd just copies as much bytes as the input file contains, unless a block size and count is given.
 
Old 04-21-2011, 09:40 AM   #7
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.0 at present.
Posts: 1,168

Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
It should be no problem to dd an image to a disk that is as large or larger as the original.
@TobiSGD Does the larger disk then have two partitions on it, The dd'd one plus the remaining bit of the disk or do you limit the disk size to that of the original?


Play Bonny!
 
Old 04-21-2011, 10:22 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by Soadyheid View Post
@TobiSGD Does the larger disk then have two partitions on it, The dd'd one plus the remaining bit of the disk or do you limit the disk size to that of the original?


Play Bonny!
The rest of the disk will be simply unpartitioned space, if you want to use it you have to create a partition manually.
 
1 members found this post helpful.
Old 04-26-2011, 12:16 PM   #9
cmj1974
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Original Poster
Rep: Reputation: 0
The DD file is approx 2GB the CF card is 4GB, it is only one partition
 
Old 04-26-2011, 12:33 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Just dd it to the CF-card, after that you can use the partition-manager of your choice to use the rest of the space with another (or more) partitions.
 
  


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




All times are GMT -5. The time now is 11:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration