Re: Subsume boot partition into root partition - how?



Dave Royal wrote:

The recent kernel update to 11.0 failed because my /boot partition is too
small. (It was big enough for 10.2.) Rather than shuffling partitions
about maybe I'll subsume it into the root partition.

Is there any reason not to do that?

No.
I have none for years.

What is the easiest safe way of doing it?

Basically you copy files from /boot partition to /boot directory,
remove entries from fstab, and rerun grub installation that should point to
root partition, instead on boot.
That all has to be done in one run, before turning computer off, otherwise
you will need installation DVD to boot it again ;-)

To give more detailed instructions, I would need output of command
mount | grep boot
that should show is /boot mounted, and
cat /etc/fstab
to see where is current boot and root partition.

/boot is currently ext2 (it was set up yonks ago) and / is ext3.

File system doesn't matter.

--
Regards, Rajko
http://en.opensuse.org/Portal needs helpful hands.
.



Relevant Pages

  • Re: About my problem
    ... >> except that on boot it cannot mount root. ... Since the fstab is not correct for your current machine, ... > user mode with the root partition you tell the kernel as above. ...
    (freebsd-questions)
  • Re: How to reassign "hibernate/restore/resume" partition on F9?
    ... Recently I upgraded the boot hard drive on this F9 box from 20GB to ... reversed the swap and root partition numbers. ... kernel parameter is not needed ordinarily. ...
    (Fedora)
  • Re: preserving windows dual boot installing openSuse 11 from downloaded DVD
    ... boot in the root partition, ... the installer not to touch my MBR. ... If you did a normal installation the root partition,, contains /boot/grub, and there is no "linux boot partition". ...
    (alt.os.linux.suse)
  • Re: After kernel-update 9.1, boot fails :-(
    ... Then I found out the problem lied in Grub. ... reason the root partition in the boot command was set to 302, ... was no partition 302 it failed to boot. ... It is possible to get around this by specifying the root partition at the ...
    (alt.os.linux.suse)
  • Re: ssh clarification needed
    ... If someone could boot the machine into single user mode then they could ... root access - hence encrypting the root partition is probably the only way ...
    (Fedora)