I have cloned my main diskdrive by dd but
Clash 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.
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
add a comment |
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.
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
It would have been FAR FAR faster to have not useddd
at all, but to have runpv </dev/sda | gzip > /media/disk/sda-backup.gz
– roaima
Dec 29 '16 at 14:06
add a comment |
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.
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
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.
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
fedora boot dual-boot dd live-usb
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 useddd
at all, but to have runpv </dev/sda | gzip > /media/disk/sda-backup.gz
– roaima
Dec 29 '16 at 14:06
add a comment |
It would have been FAR FAR faster to have not useddd
at all, but to have runpv </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
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
Put usb-storage
module (and its all dependencies) into initrd.
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
add a comment |
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.
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
add a comment |
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.
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
add a comment |
up vote
0
down vote
Put usb-storage
module (and its all dependencies) into initrd.
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
add a comment |
up vote
0
down vote
up vote
0
down vote
Put usb-storage
module (and its all dependencies) into initrd.
Put usb-storage
module (and its all dependencies) into initrd.
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
add a comment |
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
add a comment |
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
It would have been FAR FAR faster to have not used
dd
at all, but to have runpv </dev/sda | gzip > /media/disk/sda-backup.gz
– roaima
Dec 29 '16 at 14:06