Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] dd says no space left on device
Date: Mon, 16 May 2011 11:57:41
Message-Id: BANLkTinkfUxdDfvf9=n2k_uWdjOaOhJWBw@mail.gmail.com
In Reply to: Re: [gentoo-user] dd says no space left on device by Neil Bothwick
1 > > But the OP's new drive is larger, so I assume that he will be
2 > > rearranging partitions afterwards - could be wrong.
3 >
4 > So if you've got to rearrange the partitions anyway, it is easier to just
5 > dd the whole thing in one go and then do the rearranging.
6 >
7 > Alternatively, set up the new partition table manually and them copy each
8 > filesystem. dding the partition table separately from all the partitions
9 > makes no sense.
10 >
11 >
12 Yes the new drive is bigger, going from 66G to 500G. Single partition only,
13 but IIRC there is a 100MB unlabelled space (doesnt come up with fdisk -l).
14 Is this is an OEM recovery hidden partition?
15
16 So how do i proceed? Is it;
17 1. dd the mbr without partition table, to get the boot code (so bs=446
18 count=1)
19 2. use fdisk to set one big primary partition, mark it bootable and NTFS
20 (type 7)
21 3. dd into what will be /dev/sdb1
22
23 Then what? Will I be able to expand NTFS or it is better to make sure
24 parition size = NTFS filesystem size so it doesnt get confused, the boot
25 into windows and expand it?
26
27 Thanks again.

Replies

Subject Author
Re: [gentoo-user] dd says no space left on device Stroller <stroller@××××××××××××××××××.uk>