View previous topic :: View next topic |
Author |
Message |
Jefklak l33t
Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Tue Aug 24, 2004 11:27 am Post subject: Upgrading to Reiser4 & an Windows partition: some help |
|
|
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 |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Tue Aug 24, 2004 12:05 pm Post subject: |
|
|
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.
Kill the FAT32
Back up the /boot
Kill the Swap.
Make a new /boot at the beginning of the HD ( and please remember to reinstall grub at this point )
Make a new swap right after the /boot
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 |
|
|
Riftwing Apprentice
Joined: 06 Oct 2002 Posts: 293
|
Posted: Wed Aug 25, 2004 8:07 am Post subject: Re: Upgrading to Reiser4 & an Windows partition: some he |
|
|
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 |
|
|
Jefklak l33t
Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Wed Aug 25, 2004 8:20 am Post subject: |
|
|
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 |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Wed Aug 25, 2004 8:42 am Post subject: |
|
|
Important: For backup with tar, use '-p ' to preserve permissions. |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Wed Aug 25, 2004 10:47 am Post subject: |
|
|
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 |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Wed Aug 25, 2004 1:05 pm Post subject: |
|
|
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 |
|
|
Jefklak l33t
Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Wed Aug 25, 2004 2:46 pm Post subject: |
|
|
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 |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Wed Aug 25, 2004 3:57 pm Post subject: |
|
|
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 |
|
|
|