Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrading to Reiser4 & an Windows partition: some help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Tue Aug 24, 2004 11:27 am    Post subject: Upgrading to Reiser4 & an Windows partition: some help Reply with quote

This is the current setup: I am trying to get everything working in linux wich works in windows. So far, since kernel 2.6.7, I think I'm ready to completely remove my windows partition (since my ACPI DSDT for the laptop finally is fixed and there are some specefic improvements regarding destkop usage). When I first saw reiser4 was released a day ago, I had an idea.

Code:
/dev/hdc1 > Windows - FAT32 (30 Gig)
/dev/hdc2 > Boot - ext3
/dev/hdc3 > Swap
/dev/hdc4 > Root - reiser v3.6 (25 Gig)


Total +/- 60 GGB including swap & boot things. OK, Now I would like to know a few things before doing anything:

> A] If I remove my win partition, can I resize my root partition (bigger)?
> B] Can I convert reiser v3.6 to reiser4 without any loss of data?
> C] If A is no option, can I "backup" my whole root partition, remake my whole partition table with reiser4 and put the backed up files all back without having to install gentoo again? If so, what program should I use to make it myself easy? I currently use about 6 gig.


Thanks :)
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
Cuardin
l33t
l33t


Joined: 06 Feb 2003
Posts: 713
Location: vasastaden.stockholm.se

PostPosted: Tue Aug 24, 2004 12:05 pm    Post subject: Reply with quote

A) Probably not. Partitions are one unbroken segment of HD. You can move the borders, but only between adjacent partitions. However, there might be hope.
:arrow: Kill the FAT32
:arrow: Back up the /boot
:arrow: Kill the Swap.
:arrow: Make a new /boot at the beginning of the HD ( and please remember to reinstall grub at this point )
:arrow: Make a new swap right after the /boot
:arrow: At this point you have a boot and a swap at the beginning of the HD, a root at the end and 25Gb of free space inbetween. Now you can move the root to right after the swap and then resize it to the end of the HD.

But I would reformat the fat32 into something and mount it as /home or wherever you keep your multimedia archives.

B) Don't know reiser4.

C) Yes you can. The only thing on your HD that is dependent on how your partitions are placed and such is your boot loader. Everything else is happily unaware of anything except what its path is after it has been mounted. But then you would pretty much be doing what I recomend in A).
_________________
Part of "The adopt an unanswered post initiative"
Back to top
View user's profile Send private message
Riftwing
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 293

PostPosted: Wed Aug 25, 2004 8:07 am    Post subject: Re: Upgrading to Reiser4 & an Windows partition: some he Reply with quote

Jefklak wrote:

> B] Can I convert reiser v3.6 to reiser4 without any loss of data?

No unless you move all your data off of the drive, reformat, then move it back on.
_________________
Good, bad, I'm the guy with the gun. - Ash, Army of Darkness
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Wed Aug 25, 2004 8:20 am    Post subject: Reply with quote

Hm. I already tought there will be trouble if I wanted to switch some time... How about that backup thing, how do I do that? yust tar cjf / backup.tar.bz2 or is there a nice program wich uses some better methods?
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Wed Aug 25, 2004 8:42 am    Post subject: Reply with quote

Important: For backup with tar, use '-p ' to preserve permissions.
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Wed Aug 25, 2004 10:47 am    Post subject: Reply with quote

A] No, they're not adjacent
B] No, Reiser4 is completely different
C] There is partimage (it's in portage) for backups of whole partitions.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Wed Aug 25, 2004 1:05 pm    Post subject: Reply with quote

yngwin wrote:

C] There is partimage (it's in portage) for backups of whole partitions.

Since partimage preserves the file system itself, there would be no point in using it here.
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Wed Aug 25, 2004 2:46 pm    Post subject: Reply with quote

So, you propose yust to use tar to make 1 file of the whole root dir & subdirs including permissions etc? Is it safe enough? (Probably stupid question but I'll ask it anyway...)
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Wed Aug 25, 2004 3:57 pm    Post subject: Reply with quote

Jefklak wrote:
So, you propose yust to use tar to make 1 file of the whole root dir & subdirs including permissions etc? Is it safe enough?

Well yes. Oh, and another tip: tar lets you exclude files and directories, so do not have to backup /proc, /sys or (if you are using udev) /dev: Check out the --exclude and --exclude-from options.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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