Re: how to move a reiserfs partition
- From: Robert Hull <Robert@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 29 Apr 2006 17:07:37 +0100
In alt.os.linux.suse, on Sat 29 April 2006 12:33, oy
<oyinfo@xxxxxxxxxxxxxx> wrote:
Hello everyone,
I deleted and fomatted my win xp partition and hope to make use of its
space. The three partitions are now:
/dev/hda1 linux reiserfs (was the win partition, now empty)
/dev/hda2 linux swap
/dev/hda3 linux reiserfs (the working linux installation)
I want to move the complete linux installation on hda3 to hda1 because
hda1 was larger.
Not bad reasoning, but you might have been better to create a
separate /home partition
And the smaller hda3 partition can then be used for
my experimental purposes such as LFS etc. To do that, i booted using a
rescue CD.
Why go to the trouble of getting a Rescue CD, when your Install media
can boot you into a "rescue system" which is fully compatible with your
installation?
Problem is that the parted tool in the rescue CD dosen't support
reiserfs file system without the libreiserfs
(http://reiserfs.osdn.org.ua).
Good illustration of why you would have been better using your original
install media. But you don't need parted, you only need reiserfs
support - available through the "rescue" system on your install media.
At a pinch, you could just boot to single user mode, but I would not do
that as first choice.
But i could not install anything
because i am running the linux from the rescue CD.
That is the downside of running a rescue CD that is not compatible with
your filesystem :-(
Boot from your original install CD1 or DVD and choose "Rescue System"
Any idea will be appreciated!
Log in as root
Make two mount points (e.g. /mnt/hda1 and /mnt/hda3) using the mkdir
command
mount /dev/hda3 to /mnt/hda3 and /dev/hda1 to /mnt/hda1
cp -a /mnt/hda3/* /mnt/hda1
After the cp has finished, you will need to adjust the grub install to
look on hd(0,0) for its stage 2 rather than on hd(0,2) but I cannot
recall the precise steps for that.
--
Robert HULL
Archival or publication of this article on any part of thisishull.net
is without consent and is in direct breach of the Data Protection Act
.
- Follow-Ups:
- Re: how to move a reiserfs partition
- From: oy
- Re: how to move a reiserfs partition
- References:
- how to move a reiserfs partition
- From: oy
- how to move a reiserfs partition
- Prev by Date: Re: Samba printing problems - Beginning Suse linux_Print_Win_Shares.jpg (1/1)
- Next by Date: Re: Installation source configs
- Previous by thread: how to move a reiserfs partition
- Next by thread: Re: how to move a reiserfs partition
- Index(es):
Relevant Pages
|