Solved

Backup Boot partition

Posted on 2013-01-31
7
468 Views
Last Modified: 2013-02-08
i need to backup and restore fedora 18 with gpt partition. on sdc1 i have bios boot and sdc2 is / and sdc3 is swap. i am able to backup sdc2 using fsarchiver but not sdc1 the biosboot partition. is there where to back up sda1, so when i restored on another pc so fedora can run.
0
Comment
Question by:NetRock6
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 7

Expert Comment

by:multimac
ID: 38843663
Its fine. This parition is only created for the bootloader.  Just create sdc1 with parted and toggle the flags to bios_grub.

Assuming that you have created sdc1 already:
parted /dev/sdc
print
set 1 bios_grub on

Open in new window


Then process to reinstall grub, e.g.
grub-install /dev/sdc

Open in new window

0
 

Author Comment

by:NetRock6
ID: 38849105
Thanks for the reply.
I did not try your suggestion yet,
But if on the same PC i only backup the / partition and restore it,
I can not logging as root anymore. I tried to boot to single mode and ran
passwd to change the root password, it worked but then when i restart, the grub loads fine
on screen before i get to the log prompt in text mode, there is screen that show Fedora 18 is loading with 3 lines that follow each other, all the lines complete and freeze just there and i never get to log on prompt, is there a way to solve this issue after restore of / partition.

Thanks
0
 

Author Comment

by:NetRock6
ID: 38868750
after doing restore i am not able to loging using the right credentials.

the error i am getting is:
--root no shell permission

is there a way to fix this.
a quick prompt highly appreciated.

Thanks
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 7

Accepted Solution

by:
multimac earned 500 total points
ID: 38868884
This is maybe an SELINUX flaw when you dont copy the ACL. When you boot into the grub boot loader, edit that line that specifies the Linux Kernel version  and add the snippet "selinux=0". Then boot into the system and try again.

If this works, you may need to relabel the filesystem with
touch /.autorelabel
reboot

Open in new window


Alternative: Check your backup tool again. It is necessary to have ACL support.
0
 

Author Comment

by:NetRock6
ID: 38868989
Hi thanks for the quick reply and working solution.
I am using "fsarchiver"

http://www.fsarchiver.org/Attributes

but it says by default should support ACl, but i guess it has issue with selinux,
i am working on it to find a work around
0
 

Author Comment

by:NetRock6
ID: 38868995
Maybe:
fsarchiver -A savefs
would solve the issue
0
 

Author Closing Comment

by:NetRock6
ID: 38869210
Thanks for the quick prompt.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question