Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-09-2014, 12:13 PM
|
#1
|
LQ Newbie
Registered: Dec 2008
Posts: 6
Rep:
|
Problem W/Tar restore
Hi,
I am trying to do a tar restore to a new ssd.
Message> No such drive UUID#----
and hd1 cannot get C/H/S
I did a full system back of the HD W/command>>
tar -cvpf /backups/backups.tar --directory=/ --exclude=proc --exclude=sys --exclude=dev/pts --exclude=backups
I changed the drive in bios from IDE to SSD and did a sussessful net install
of Debian7 from the same disc that I used on the HD.
I restored to / with the command>>
tar -xvpf /backups.tar
Upon reboot I got the above message.
After 3 minutes I got the screen to choose a normal boot or
a recovery boot. Both options brought me back to the messages and
finally the boot option screen.
I did not let the install do any upgrades.The kernal from install is
3.2.0-4-amd64 and had been upgraded to 3.3.60. Could that be a problem.
Maybe I should not have excluded sys.
Any help would be appreciated. I wanted to avoid all of the network, printer connections, LO 4.0 and nightly setups.
Thank You in advance,
Pumper
|
|
|
11-10-2014, 05:54 AM
|
#2
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,708
Rep:
|
Likely you have overwritten your /boot directory, the UUID would be that of your old disk.
Try using a 'live' distro to check your installed system.
|
|
|
11-10-2014, 08:09 AM
|
#3
|
LQ Newbie
Registered: Dec 2008
Posts: 6
Original Poster
Rep:
|
Thank You Fatmac,
What I need to know is how to use the tar. backup to restore this.
It seems that it did do what you said.
Pumper
|
|
|
11-10-2014, 08:46 AM
|
#4
|
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791
|
You can't use the tar backup to fix the problem. Boot a live distro, determine the UUID of your SSD's partition, then modify /boot/grub/grub.cfg on your SSD to use the SSD's UUID.
|
|
|
11-10-2014, 10:06 AM
|
#5
|
LQ Newbie
Registered: Dec 2008
Posts: 6
Original Poster
Rep:
|
Thanks RockDoctor,
Seems like I am getting some where now.
Not sure how to use the live distro though.
I have a dvd w/net install. Will that work.
How do I get to a terminal from that or what ever.
Thank You,
Pumper
|
|
|
11-10-2014, 02:35 PM
|
#6
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,708
Rep:
|
A net-install 'live' disk should work, as it will likely have a basic set of programs.
Boot up with the 'live', then try mounting your internal drive.
(mount /dev/sda1 onto /mnt)
Code:
mount /dev/sda1 /mnt
Then use the editor, nano or vi, to open /mnt/boot/grub/grub.cfg so that it points to your SSD.
Code:
nano /mnt/boot/grub/grub.cfg
(If you aren't sure, try /dev/sda1)
Save & exit, then reboot, hopefully, from your SSD.
Last edited by fatmac; 11-10-2014 at 02:37 PM.
|
|
1 members found this post helpful.
|
11-10-2014, 08:50 PM
|
#7
|
LQ Newbie
Registered: Dec 2008
Posts: 6
Original Poster
Rep:
|
Thanks fatmac, that did it.
Just mine was /boot/grub/grub.cfg
|
|
|
All times are GMT -5. The time now is 04:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|