PDA

View Full Version : Repartitionning


guillaume
2004-12-12, 23:21 PM
Hi,

I am trying to setup a server for the long term, so things like "put everything in the same partition" is not a very good idea.

I have a dual HD server. It looked reasonnable to me to [list=1]
Partition my second drive
Mirrordir the content of my first drive to my second drive
Configure grub to boot on the second drive
Reboot on the second drive
Repartition the first drive
Reboot on the first drive et voilą...
[/list=1]

Thing is: I have tried that twice, and in both cases I ended up stucked with a server that would not boot.

In my menu.lst, I have tried to[list=1]
change both the "root" and "kernel ... root=" parameters to point to (hd1,0) and /dev/hdc
change only the "kernel ... root=" parameter
[/list=1]
In both cases, the server would not reboot.
In fact, it would answer to pings, but that's it. Which makes me think that I must not be too far away...

Other problem, as a failsafe I instructed Grub to grub>savedefault --default=N --once
My understanding was that this is supposed to ask Grub to boot next time on kernel number "N", and the time after next time boot on the "usual" default kernel. It does not seem to do the trick (Fastreboot did not put the server back on line)?

If it makes a difference, I am running 2.6.9 on Sarge, /boot is ext3 and in the new partitionning all other partitions are XFS.