Solved

Backup Boot partition

Posted on 2013-01-31
7
470 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Fine Tune your automatic Updates for Ubuntu / Debian
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

739 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