Thanks in advance for anything you might be able to contribute.
Short version: If I want to do a full restore from tar backups, but my partitions for root, boot, and swap change, what all do I need to edit, besides /etc/fstab and /boot/grub/grub.conf, to get everything working, including swap and hibernate?
Longer story:
I have a new Dell XPS M1330 that I've been working on configuring for about a week. Sparing the details of attempting to retain most of the Dell stuff, I decided to try backing up my satisfactory and stable Fedora 8 install before wiping the drive and starting over. Using System Rescue CD, I mounted my /, /boot, and /home partitions and create tar files from them.
In my new partition scheme, there is no /boot (I needed one more partition for other purposes, so I had to sacrifice this one.) So, basically, the whole partition scheme is changed. I figured I was clever enough to find all the details and get my system working as it was before. Um… I found I'm not that clever.
My new scheme is:
/dev/sda6 = /
/dev/sda7 = swap
/dev/sda8 = /home
(no boot)
I did a fresh install of Fedora 8 to these partitions. Then I rebooted into System Rescue CD, and..
* mounted /dev/sda8 as /f8 & restored the home.tar into - No issues here.
* mounted /dev/sda6 as /f8 & restored root.tar into it.
* backed up the new /boot to my usb drive
* restored boot.tar into /f8/boot. Files looked good
* modified /f8/boot/grub/grub.conf to look for images in /boot
* modified /etc/fstab: removed the entry for /boot, and figured the labels would work for all else
On my initial reboot, GRUB gave me a GEOM Error. So, I used System Rescue CD to mount and edit grub.conf again, replacing the labels for / with /dev/sda5. Rebooting yield more errors, so I replaced the labels in /etc/fstab with /dev entries. I also ran grub with the following sequence of commands:
# grub
grub> root (hd0,5)
grub> setup (hd0)
grub> quit
After this, I was able to boot, but noticed that swap didn’t work, because it was complaining about the volume label.
How do I change the configuration so swap will find the right partition? Is there anything else I need to edit besides fstab and grub.conf? And why the heck didn't the partition labels work for / and swap?
Thanks all,
</CR>
-----
Running Fedora 8 on Dell XPS M1330
Check the Blog, If You Dare