Re: /boot too small for updaeting to RedHat 9

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 8 Oct 2003 09:30:42 +0800, Ow Mun Heng wrote:

> >If /boot has not enough space to hold at least the new kernel files,
> >do you really need a separate /boot partition? You could modify
> >/etc/fstab of your RHL 7.1 to not mount a separate /boot partition and
> >move the directory onto your /-partition where you should have no
> >space problems.
> 
> I'm interested in this solution. Can I have more info??

With GRUB and modern computers (BIOS and hard disk drives support LBA)
you don't need a separate partition for the /boot directory anymore.
The installer would install happily into the /boot directory on the
root partition.

The original poster referred to an _upgrade_. If you wanted to prepare
your system, which has a separate small /boot partition, for an
upgrade, you would drop/move the /boot directory before the upgrade.

> eg :
> 
> cd /usr
> mkdir /usr/boot
> 
> vi /etc/fstab
> 
> /boot /usr/boot 	defaults etc
> 
> something like that???

Sort of (assuming partition labels):

  # umount /boot
  # mkdir /tmp/boot
  # mount -L /boot /tmp/boot
  # cp -a /tmp/boot/* /boot
  # umount /tmp/boot
  # cp /etc/fstab /etc/fstab.bak
  # grep -v /boot /etc/fstab.bak > /etc/fstab
  
  [for that to still boot, you would need to rewrite the bootloader
  with changed configuration in /boot/grub/grub.conf to reflect the
  changed GRUB root-partition, i.e. update the "root (hd?,?)"
  parameter and add /boot in front of /vmlinuz* and /initrd* lines]


- -- 
Michael, who doesn't reply to top posts and complete quotes anymore.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/g9SX0iMVcrivHFQRAoX5AJ9WhAUZMfZU09U03B+7O3ZCmleY5ACgiF/o
x810CiYmvmAQv9eFlY5OAQc=
=u6XX
-----END PGP SIGNATURE-----


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux