Gentoo Archives: gentoo-user

From: Antoine <melser.anton@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] OT? - resizing a windows partition to take up more space (and take from gentoo :-()
Date: Sat, 04 Mar 2006 10:18:47
Message-Id: 44096828.3020500@gmail.com
1 Hi,
2 I have the following partition table
3
4 /dev/hdb6 9004120 8780172 223948 98% /
5 udev 452040 108 451932 1% /dev
6 /dev/hdb8 8803312 8388844 414468 96% /usr
7 /dev/hdb1 12289692 11802356 487336 97% /winsux
8 /dev/hdb2 10080520 7198664 2369788 76% /mnt/ubuntu
9 /dev/hdb7 39068848 37834076 1234772 97% /mnt/b40
10 none 452040 0 452040 0% /dev/shm
11
12 Basically, I want to give my ntfs windows winsux partition half the disk
13 (.net2 is so enormous I have no space for anything else...). I have an
14 250gig external usb hd that I am formatting in ext3 (and it looks like
15 it will take several hours!) that can be used for transfer.
16 I would like to create images of both windows and gentoo and then
17 restore afterwards - basically only / and /usr need to be imaged (I
18 guess I could just copy them, and may end up doing that...) but I am
19 pretty sure a straight copy of windows won't work.
20 What I *might* try is to copy linux to the server or external hd and
21 then simply resize the ntfs partition with ntfsresize. I have had
22 success resizing ntfs with rescuecd so might go that route.
23 Anyone got any suggestions on the best approach? dd? cp + ntfsresize?
24 Cheers
25 Antoine
26 --
27 gentoo-user@g.o mailing list