[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: moving root partition



Digby Tarvin wrote:
> Can any tell me the appropriate way of convincing Debian that the
> root filesystem has moved to a new partition?
> 
> I repartitioned the system disk a few days ago, and after updating
> /etc/fstab and /boot/grub/menu.lst everthing was working fine..
> 
> But when I 'dpkg -i' a new kernel, the old partition number
> reappeared in /boot/grub/menu.lst - which of course didn't
> help booting the new kernel :-/
> 
> I assume Debian has some knowledge of which partition is the
> root partition secreted somewhere, but I havn't found it yet.
> 
> Parhaps there was some sort of 'reconfigure' command I am supposed
> to run when the partitioning changes??
> 
> Also, having tried a new kernel and installed with 'dpkg -i', is
> it safe to just remove the files from /root and edit it out of
> /boot/grub, or is it better to use pkg or apt to do it?
> 
> Regards,
> DigbyT

Did you run grub-isntall after moving the root partition?  I am guesing
that you don't have /boot on a seperate partition and that you didn't
run grub-install, which is confusing it.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: