Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues copying partition layout to another disk (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Fri Apr 13, 2012 3:35 pm    Post subject: Issues copying partition layout to another disk (solved) Reply with quote

I've got a (sda) 500 Gb drive (with only 80 Gb of partitions used), and I'm trying to copy the partition layout to another (sdb) 80 Gb in order to get software raid setup.

I've tried this:
Code:
sfdisk -d /dev/sda > partition_layout
sfdisk /dev/sdb < partition_layout


It generates an error given size exceeds max allowable size (0).

0???

Is there another way to copy the partition scheme?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23062

PostPosted: Fri Apr 13, 2012 10:27 pm    Post subject: Reply with quote

You amended the title to say "(solved)", but I see no explanation of why you consider the problem to be solved or how you solved it. Could you include that as well?
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2198

PostPosted: Sat Apr 14, 2012 5:30 pm    Post subject: Reply with quote

It was solved just by approximating the layouts, then using rsync off of a rescue CD to copy the data. The reason I believe it wouldn't copy was that the layout on the other drive was just a few Mb larger, I still don't have an answer to the max allowable size being 0 though.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum