LinuxQuestions.org
Help answer threads with 0 replies.
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, 02: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 02:34 PM. Reason: typo
 
Old 04-20-2011, 03:15 PM   #2
MBybee
Member
 
Registered: Jan 2009
Location: wherever I can make a living
Distribution: OpenBSD / Debian / Ubuntu / Win7 / OpenVMS
Posts: 440

Rep: Reputation: 57
If you're doing a dd, what command did you run?
 
Old 04-20-2011, 04: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, 08:17 AM   #4
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,671

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
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, 08:32 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 08:40 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
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, 08:40 AM   #7
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,671

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
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, 09:22 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 11:16 AM   #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, 11:33 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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



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

All times are GMT -5. The time now is 02:23 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
Open Source Consulting | Domain Registration