I have cloned my main diskdrive by dd but

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












Step 1: I have cloned my main diskdrive by dd cmd: bash -c "dd if=/dev/sda |pv| gzip > /media/disk/sda-backup.gz"



Step 2: Now I like to make the cone work running from USB stik. I have a 120Gb usb stick and the old hhd are 80Gb.



I then used below cmd:



gunzip -c /media/disk/sda-backup.gz |pv -pter -s 80g | dd of=/dev/sdc bs=64K


Step 3: bootup on the usb stick on another computer then the original........ here is the problem, the boot looks fine to start with choosing the Fedora (2.6.27.25-78.2.56.fc9.i686)



When booting I get the problem/error with Red Hat showing in the attached picture.



Bootup problem RedHat / physical volumes



If I boot the usb stick on the original computer then its works fine. So I assume, that I need to change somewhere(???) the boot files / location is on another location then the physical volumes...










share|improve this question























  • It would have been FAR FAR faster to have not used dd at all, but to have run pv </dev/sda | gzip > /media/disk/sda-backup.gz
    – roaima
    Dec 29 '16 at 14:06














up vote
-1
down vote

favorite












Step 1: I have cloned my main diskdrive by dd cmd: bash -c "dd if=/dev/sda |pv| gzip > /media/disk/sda-backup.gz"



Step 2: Now I like to make the cone work running from USB stik. I have a 120Gb usb stick and the old hhd are 80Gb.



I then used below cmd:



gunzip -c /media/disk/sda-backup.gz |pv -pter -s 80g | dd of=/dev/sdc bs=64K


Step 3: bootup on the usb stick on another computer then the original........ here is the problem, the boot looks fine to start with choosing the Fedora (2.6.27.25-78.2.56.fc9.i686)



When booting I get the problem/error with Red Hat showing in the attached picture.



Bootup problem RedHat / physical volumes



If I boot the usb stick on the original computer then its works fine. So I assume, that I need to change somewhere(???) the boot files / location is on another location then the physical volumes...










share|improve this question























  • It would have been FAR FAR faster to have not used dd at all, but to have run pv </dev/sda | gzip > /media/disk/sda-backup.gz
    – roaima
    Dec 29 '16 at 14:06












up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











Step 1: I have cloned my main diskdrive by dd cmd: bash -c "dd if=/dev/sda |pv| gzip > /media/disk/sda-backup.gz"



Step 2: Now I like to make the cone work running from USB stik. I have a 120Gb usb stick and the old hhd are 80Gb.



I then used below cmd:



gunzip -c /media/disk/sda-backup.gz |pv -pter -s 80g | dd of=/dev/sdc bs=64K


Step 3: bootup on the usb stick on another computer then the original........ here is the problem, the boot looks fine to start with choosing the Fedora (2.6.27.25-78.2.56.fc9.i686)



When booting I get the problem/error with Red Hat showing in the attached picture.



Bootup problem RedHat / physical volumes



If I boot the usb stick on the original computer then its works fine. So I assume, that I need to change somewhere(???) the boot files / location is on another location then the physical volumes...










share|improve this question















Step 1: I have cloned my main diskdrive by dd cmd: bash -c "dd if=/dev/sda |pv| gzip > /media/disk/sda-backup.gz"



Step 2: Now I like to make the cone work running from USB stik. I have a 120Gb usb stick and the old hhd are 80Gb.



I then used below cmd:



gunzip -c /media/disk/sda-backup.gz |pv -pter -s 80g | dd of=/dev/sdc bs=64K


Step 3: bootup on the usb stick on another computer then the original........ here is the problem, the boot looks fine to start with choosing the Fedora (2.6.27.25-78.2.56.fc9.i686)



When booting I get the problem/error with Red Hat showing in the attached picture.



Bootup problem RedHat / physical volumes



If I boot the usb stick on the original computer then its works fine. So I assume, that I need to change somewhere(???) the boot files / location is on another location then the physical volumes...







fedora boot dual-boot dd live-usb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 17 at 20:56









Rui F Ribeiro

38.2k1475123




38.2k1475123










asked Dec 29 '16 at 9:43









Steffen

1




1











  • It would have been FAR FAR faster to have not used dd at all, but to have run pv </dev/sda | gzip > /media/disk/sda-backup.gz
    – roaima
    Dec 29 '16 at 14:06
















  • It would have been FAR FAR faster to have not used dd at all, but to have run pv </dev/sda | gzip > /media/disk/sda-backup.gz
    – roaima
    Dec 29 '16 at 14:06















It would have been FAR FAR faster to have not used dd at all, but to have run pv </dev/sda | gzip > /media/disk/sda-backup.gz
– roaima
Dec 29 '16 at 14:06




It would have been FAR FAR faster to have not used dd at all, but to have run pv </dev/sda | gzip > /media/disk/sda-backup.gz
– roaima
Dec 29 '16 at 14:06










2 Answers
2






active

oldest

votes

















up vote
0
down vote













Put usb-storage module (and its all dependencies) into initrd.






share|improve this answer




















  • can you explan how, I assume you mean the file initrd-2.6.27.25-78.2.56.fc9.i686.img and thats a binary file, im not sure how to add usb-storage module...
    – Steffen
    Dec 29 '16 at 10:18

















up vote
0
down vote













Apparently, you have a LVM setup on the original computer where VolGroup00 contains the LogVol01 volume which is your actual root device.



The physical device where that volume group resides is probably not the origin device (/dev/sda) you copied with dd.



That's why it does not work on your other computer, only on the original one.



What you could do is copy the root files from /VolGroup00/LogVol01 (whatever that is) to your stick and change the root= kernel option to the new location, e.g. /dev/sda1.



Look at the output of sudo pvs to find out which physical device contains the VolGroup00 group.






share|improve this answer




















  • modprobe dm-mod vgchange -ay then i can mount: mount /dev/VolGroup00/LogVol00 /mnt/ inside i can see the files are there. But how do I change root= kernel option? maybe that could do the trick. I assume there is somewhere that is says sda and i need to thange that to sdb (usbstick)?
    – Steffen
    Dec 29 '16 at 13:05










  • You can change the kernel options in the grub.cfg file in /boot/grub. But currently it is set to /dev/VolGroup00/LogVol01 and that device cannot be found... You could try to provide more information (disk layout, LVM setup), that would be helpful.
    – cbley
    Jan 2 '17 at 8:27










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f333499%2fi-have-cloned-my-main-diskdrive-by-dd-but%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Put usb-storage module (and its all dependencies) into initrd.






share|improve this answer




















  • can you explan how, I assume you mean the file initrd-2.6.27.25-78.2.56.fc9.i686.img and thats a binary file, im not sure how to add usb-storage module...
    – Steffen
    Dec 29 '16 at 10:18














up vote
0
down vote













Put usb-storage module (and its all dependencies) into initrd.






share|improve this answer




















  • can you explan how, I assume you mean the file initrd-2.6.27.25-78.2.56.fc9.i686.img and thats a binary file, im not sure how to add usb-storage module...
    – Steffen
    Dec 29 '16 at 10:18












up vote
0
down vote










up vote
0
down vote









Put usb-storage module (and its all dependencies) into initrd.






share|improve this answer












Put usb-storage module (and its all dependencies) into initrd.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 29 '16 at 9:51









Ipor Sircer

10.1k11023




10.1k11023











  • can you explan how, I assume you mean the file initrd-2.6.27.25-78.2.56.fc9.i686.img and thats a binary file, im not sure how to add usb-storage module...
    – Steffen
    Dec 29 '16 at 10:18
















  • can you explan how, I assume you mean the file initrd-2.6.27.25-78.2.56.fc9.i686.img and thats a binary file, im not sure how to add usb-storage module...
    – Steffen
    Dec 29 '16 at 10:18















can you explan how, I assume you mean the file initrd-2.6.27.25-78.2.56.fc9.i686.img and thats a binary file, im not sure how to add usb-storage module...
– Steffen
Dec 29 '16 at 10:18




can you explan how, I assume you mean the file initrd-2.6.27.25-78.2.56.fc9.i686.img and thats a binary file, im not sure how to add usb-storage module...
– Steffen
Dec 29 '16 at 10:18












up vote
0
down vote













Apparently, you have a LVM setup on the original computer where VolGroup00 contains the LogVol01 volume which is your actual root device.



The physical device where that volume group resides is probably not the origin device (/dev/sda) you copied with dd.



That's why it does not work on your other computer, only on the original one.



What you could do is copy the root files from /VolGroup00/LogVol01 (whatever that is) to your stick and change the root= kernel option to the new location, e.g. /dev/sda1.



Look at the output of sudo pvs to find out which physical device contains the VolGroup00 group.






share|improve this answer




















  • modprobe dm-mod vgchange -ay then i can mount: mount /dev/VolGroup00/LogVol00 /mnt/ inside i can see the files are there. But how do I change root= kernel option? maybe that could do the trick. I assume there is somewhere that is says sda and i need to thange that to sdb (usbstick)?
    – Steffen
    Dec 29 '16 at 13:05










  • You can change the kernel options in the grub.cfg file in /boot/grub. But currently it is set to /dev/VolGroup00/LogVol01 and that device cannot be found... You could try to provide more information (disk layout, LVM setup), that would be helpful.
    – cbley
    Jan 2 '17 at 8:27














up vote
0
down vote













Apparently, you have a LVM setup on the original computer where VolGroup00 contains the LogVol01 volume which is your actual root device.



The physical device where that volume group resides is probably not the origin device (/dev/sda) you copied with dd.



That's why it does not work on your other computer, only on the original one.



What you could do is copy the root files from /VolGroup00/LogVol01 (whatever that is) to your stick and change the root= kernel option to the new location, e.g. /dev/sda1.



Look at the output of sudo pvs to find out which physical device contains the VolGroup00 group.






share|improve this answer




















  • modprobe dm-mod vgchange -ay then i can mount: mount /dev/VolGroup00/LogVol00 /mnt/ inside i can see the files are there. But how do I change root= kernel option? maybe that could do the trick. I assume there is somewhere that is says sda and i need to thange that to sdb (usbstick)?
    – Steffen
    Dec 29 '16 at 13:05










  • You can change the kernel options in the grub.cfg file in /boot/grub. But currently it is set to /dev/VolGroup00/LogVol01 and that device cannot be found... You could try to provide more information (disk layout, LVM setup), that would be helpful.
    – cbley
    Jan 2 '17 at 8:27












up vote
0
down vote










up vote
0
down vote









Apparently, you have a LVM setup on the original computer where VolGroup00 contains the LogVol01 volume which is your actual root device.



The physical device where that volume group resides is probably not the origin device (/dev/sda) you copied with dd.



That's why it does not work on your other computer, only on the original one.



What you could do is copy the root files from /VolGroup00/LogVol01 (whatever that is) to your stick and change the root= kernel option to the new location, e.g. /dev/sda1.



Look at the output of sudo pvs to find out which physical device contains the VolGroup00 group.






share|improve this answer












Apparently, you have a LVM setup on the original computer where VolGroup00 contains the LogVol01 volume which is your actual root device.



The physical device where that volume group resides is probably not the origin device (/dev/sda) you copied with dd.



That's why it does not work on your other computer, only on the original one.



What you could do is copy the root files from /VolGroup00/LogVol01 (whatever that is) to your stick and change the root= kernel option to the new location, e.g. /dev/sda1.



Look at the output of sudo pvs to find out which physical device contains the VolGroup00 group.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 29 '16 at 10:33









cbley

23613




23613











  • modprobe dm-mod vgchange -ay then i can mount: mount /dev/VolGroup00/LogVol00 /mnt/ inside i can see the files are there. But how do I change root= kernel option? maybe that could do the trick. I assume there is somewhere that is says sda and i need to thange that to sdb (usbstick)?
    – Steffen
    Dec 29 '16 at 13:05










  • You can change the kernel options in the grub.cfg file in /boot/grub. But currently it is set to /dev/VolGroup00/LogVol01 and that device cannot be found... You could try to provide more information (disk layout, LVM setup), that would be helpful.
    – cbley
    Jan 2 '17 at 8:27
















  • modprobe dm-mod vgchange -ay then i can mount: mount /dev/VolGroup00/LogVol00 /mnt/ inside i can see the files are there. But how do I change root= kernel option? maybe that could do the trick. I assume there is somewhere that is says sda and i need to thange that to sdb (usbstick)?
    – Steffen
    Dec 29 '16 at 13:05










  • You can change the kernel options in the grub.cfg file in /boot/grub. But currently it is set to /dev/VolGroup00/LogVol01 and that device cannot be found... You could try to provide more information (disk layout, LVM setup), that would be helpful.
    – cbley
    Jan 2 '17 at 8:27















modprobe dm-mod vgchange -ay then i can mount: mount /dev/VolGroup00/LogVol00 /mnt/ inside i can see the files are there. But how do I change root= kernel option? maybe that could do the trick. I assume there is somewhere that is says sda and i need to thange that to sdb (usbstick)?
– Steffen
Dec 29 '16 at 13:05




modprobe dm-mod vgchange -ay then i can mount: mount /dev/VolGroup00/LogVol00 /mnt/ inside i can see the files are there. But how do I change root= kernel option? maybe that could do the trick. I assume there is somewhere that is says sda and i need to thange that to sdb (usbstick)?
– Steffen
Dec 29 '16 at 13:05












You can change the kernel options in the grub.cfg file in /boot/grub. But currently it is set to /dev/VolGroup00/LogVol01 and that device cannot be found... You could try to provide more information (disk layout, LVM setup), that would be helpful.
– cbley
Jan 2 '17 at 8:27




You can change the kernel options in the grub.cfg file in /boot/grub. But currently it is set to /dev/VolGroup00/LogVol01 and that device cannot be found... You could try to provide more information (disk layout, LVM setup), that would be helpful.
– cbley
Jan 2 '17 at 8:27

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f333499%2fi-have-cloned-my-main-diskdrive-by-dd-but%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?