From: Adam Carter <adamcarter3@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] dd says no space left on device
Date: Tue, 17 May 2011 17:50:54 +1000 [thread overview]
Message-ID: <BANLkTi=v=8aE-vyy0_chOvw3V+AWjo-zLg@mail.gmail.com> (raw)
In-Reply-To: <10DA6B9E-10FF-4D03-80CC-8701313F338F@stellar.eclipse.co.uk>
[-- Attachment #1: Type: text/plain, Size: 1627 bytes --]
On Tue, May 17, 2011 at 12:21 AM, Stroller
<stroller@stellar.eclipse.co.uk>wrote:
>
> On 16/5/2011, at 12:56pm, Adam Carter wrote:
> > ...
> > Yes the new drive is bigger, going from 66G to 500G. Single partition
> only, ...
> >
> > So how do i proceed? Is it;
> > 1. dd the mbr without partition table, to get the boot code (so bs=446
> count=1)
> > 2. use fdisk to set one big primary partition, mark it bootable and NTFS
> (type 7)
> > 3. dd into what will be /dev/sdb1
>
> Just `dd if=/dev/sda of=/dev/sdb` if you can.
>
Done - and its worked.
Here's what i did;
1. Take existing drive out of laptop and connect to Gentoo box using an
esata box, then
sphinx ~ # dd if=/dev/sdb bs=10M conv=notrunc,noerror | gzip > windisk.gz
5723+1 records in
5723+1 records out
60011642880 bytes (60 GB) copied, 5667.78 s, 10.6 MB/s
For interests sake, windows reports that 51gig is in use, which along with
the free space has compressed down to
sphinx ~ # ls -lh win*
-rw-r--r-- 1 root root 37G May 17 12:29 windisk.gz
2. Swap existing disk to new drive, then
sphinx ~ # gunzip -c windisk.gz | dd of=/dev/sdb bs=10M conv=notrunc
0+1819751 records in
0+1819751 records out
60011642880 bytes (60 GB) copied, 940.652 s, 63.8 MB/s
3. Boot into windows. After login it says "You must restart your computer to
apply these changes", so i restart. Then go into Disk managment and select
"Extend Volume", which immediately makes all the space was immediately
available. Paranoia says run a disk check, which windows offers to schedule
at next reboot. I accept and reboot, check runs and no errors are reported,
so im :)
Thanks again list!
[-- Attachment #2: Type: text/html, Size: 2046 bytes --]
prev parent reply other threads:[~2011-05-17 7:52 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-15 7:45 [gentoo-user] dd says no space left on device Adam Carter
2011-05-15 9:20 ` Joost Roeleveld
2011-05-15 13:44 ` Alex Schuster
2011-05-15 17:52 ` Mick
2011-05-15 18:15 ` Volker Armin Hemmann
2011-05-15 18:40 ` Mick
2011-05-15 19:45 ` Volker Armin Hemmann
2011-05-16 1:01 ` Adam Carter
2011-05-16 6:00 ` Mick
2011-05-16 6:31 ` Adam Carter
2011-05-16 10:37 ` Mick
2011-05-16 10:45 ` Neil Bothwick
2011-05-16 11:16 ` Mick
2011-05-16 11:37 ` Neil Bothwick
2011-05-16 11:56 ` Adam Carter
2011-05-16 14:21 ` Stroller
2011-05-16 15:35 ` Mick
2011-05-16 16:03 ` Stroller
2011-05-16 18:55 ` Mick
2011-05-16 19:54 ` Neil Bothwick
2011-05-16 20:14 ` Mick
2011-05-17 7:50 ` Adam Carter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTi=v=8aE-vyy0_chOvw3V+AWjo-zLg@mail.gmail.com' \
--to=adamcarter3@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox