moving root partition



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
--
Digby R. S. Tarvin digbyt(at)digbyt.com
http://www.digbyt.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: OS and file system encryption
    ... dmcrypt, which allows you to encrypt everything, even your root and swap ... and an external usb drive); the only unencrypted partition is a ... installation of the system. ... the encrypted devices and copied the root filesystem over, ...
    (Debian-User)
  • Re: [opensuse] /tmp is taken the whole partition!
    ... Teruel de Campo MD wrote: ... /tmp on its own partition -- I personally don't like all ... as the root filesystem, which holds the core of the ... operating system. ...
    (SuSE)
  • Re: A bit perplexed...
    ... On Wed, 2005-02-09 at 19:53 -0500, Kanwar Ranbir Sandhu wrote: ... This setup _*requires*_ another partition as /. ... If the root node goes down, ... > root filesystem (it has to be installed on some type of network ...
    (Fedora)
  • Re: Running LVM to repartition HD question
    ... system should come up OK with /tmp on the root filesystem. ... So you'll now be using that already-existing directory as your /tmp. ... I'll create a 5G partition on raw partition as its /home ... So if you upgrade your kernel in one instance, it may delete the kernel being used by the other instance. ...
    (Fedora)
  • Re: [SLE] Help: Suse 9.1 box wont boot!
    ... Furthermore, I can mount it ... I disconnected the drive with that partition. ... This is normally what happens when a root filesystem is inconsistent ... and that the problem partition was RO. ...
    (SuSE)