HOMEPAGE FORUMS NEWS DOCUMENTATION SCREENSHOTS
SystemRescueCd forums
View unanswered posts | View active topics It is currently 30 Sep 2014, 21:53



Post new topic Reply to topic  [ 2 posts ] 
 Grub installation, fsarchiver 
Author Message

Joined: 18 Nov 2006, 13:09
Posts: 95
Post Grub installation, fsarchiver
I would like to restore root-filesystem among others to smaller disk or disksystem.

My setup currently:
sda1 = /boot
sda2 = swap
sda3 = /

First I took backup with dd of 63 first sectors and restored it to smaller disk.

Then I took dumps with sfdisk of partition table and restored it to smaller disk. Because physical disk is smaller, it doesn't work.

After that I restored partitions of only sda1 and sda2 with sfdisk and made smaller than original sda3 with cfdisk.

Then restored filesystem with fsarchiver. System can't find operating system. After that I tried to install grub with:

"grub-install /dev/sda"

but it failed with error:
/dev/sda: Not found or not a block device.

After I did
"mount /dev/sda1 /something/somewhere"
and

grub-install --root-directory=/something/somewhere
... I managed to install grub.

However, now I can see only grub-commandline when booting, not grub menu.

How should I install grub so that menu would also work and I would be able to boot?


14 May 2009, 19:16
Profile ICQ
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2700
Post 
http://www.fsarchiver.org/forums/viewtopic.php?t=918


17 May 2009, 10:40
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.