LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-15-2012, 03:44 AM   #1
rootaccess
Member
 
Registered: Mar 2012
Posts: 211

Rep: Reputation: Disabled
Rsync'd my entire drive to an external drive, grub-installed and FAILED to load GUI


I guess I am trying to make a live usb here following this page
https://wiki.archlinux.org/index.php...kup_with_rsync

I am actually editing the grub.cfg file and took out my original UUID from my previous installation and replaced it with the UUID of the external hard drive. I also changed from hd0 to hd1 since this falls exactly on /dev/sdb1 as the web site as well. My /dev/sdb1 was formatted in ext3, and set to active in fdisk. My fstab only contains the

/dev/sdb1 ext3 defaults 0 0

I did try using the UUID instead of /dev/sdb1 but that did not work either.
When I grub-installed, I mounted my directory to /mnt, and /mnt/dev and mount --bind /dev /mnt/dev as well as chrooted to /mnt and ran grub-install /dev/sdb


I managed to get pretty far, it seems to halt just at the beginning of the GDM3 interface (the GUI). I can move my mouse but it just halts right there.

This was my rsync command after searching very deep for the right folders to exclude. I tried it with the sys folder and that was a mess, I learned these folders are created at boot and not needed to back up:
sudo rsync -av .* /media/passport/ext3/ --exclude=home/user/Videos --exclude=mnt --exclude=media --exclude=proc --exclude=var/spool/squid --exclude=home/user/.mozilla/firefox/*/Cache --exclude=sys --exclude=tmp/* --exclude=lost+found --include=dev/console --include=dev/initctl --include=dev/null --include=dev/zero --exclude=dev/*

(of course user is in lieu of my real username)
Also, from testing out with other directories between each other, the correct syntax at least with my rsync version in Debian is to NOT include quotes in the --exclude or --include option. Also the .* was something I had spent hours looking for how to copy EVERYTHING from the root folder including all hidden files and folders and works like a charm.

So having said pretty much everything I have done, what have I done wrong or is it just not possible to make my filesystem boot up as if it were another one of my filesystems?

Thanks a lot for any input.
 
Old 03-15-2012, 02:09 PM   #2
rootaccess
Member
 
Registered: Mar 2012
Posts: 211

Original Poster
Rep: Reputation: Disabled
bump
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Still having rsync errors to external drive rjo98 Linux - General 23 01-28-2010 03:39 PM
GRUB doesn't let me load without Ubuntu external hard drive plugged in. Eitaro Linux - Newbie 5 06-27-2009 03:14 AM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 10:59 AM
Moving grub from external drive to internal drive krunaldsoni Linux - Newbie 4 11-24-2008 01:07 PM
Installed GRUB on 3rd hard drive, how do I boot 1st drive? jesusphreak Linux - Newbie 4 04-06-2005 10:34 AM


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