www.centos.org Forum Index CentOS 6 - General Support Reinstall /boot partition only - multi-boot with openSUSE
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: Reinstall /boot partition only - multi-boot with openSUSE | #2 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2012/1/20
From
Posts: 109
|
Well I found that in theory I could do this by running the DVD setup and choosing the upgrade option. Unfortunately this falls over with the unhandled exception:
archictecture: x86_64 cmdline: /usr/bin/python /usr/bin/anaconda executable: /usr/bin/anaconda kernel: 2.6.32-220.el6.x86_64 package: cannot get package and component file for file /usr/bin/anaconda release: cannot get release name other involved packages: anaconda 13.21.149 exception report Traceback (most recent call first): File "/usr/lib/anaconda/booty/x86.py", line 258, in writegrubconf f = open(cf, "W+ ") ... ... IOError: [Errno 2] No such file of directory: '/mnt/sysimage/boot/grub/grub.conf' |
||
Posted on: 2012/5/15 13:14
|
|||
|
Re: Reinstall /boot partition only - multi-boot with openSUSE | #3 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Sharing /boot between distros is a Bad Idea [TM] as you have discovered. You might be able to recover by copying /boot from a working CentOS system, but trying to reinstall or do an anaconda upgrade in an attempt to recover does not seem like a viable approach. Your best bet if you haven't got another system to use as a recovery source is a backup and fresh install.
If you want to multi-boot then about all you can safely share is swap, and possibly some data storage, and that only under certain conditions such as not having it on LVM. Doing an install to a totally separate location and writing the bootloader for one distro or the other to the boot record on the boot partition, rather than the MBR, then chainloading it from whatever owns the MBR is the right way to go. The MBR owner should usually be whichever distro has the later GRUB. For LILO or other bootloaders I cannot advise. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/5/15 18:30
|
|||
|
Re: Reinstall /boot partition only - multi-boot with openSUSE | #4 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2012/1/20
From
Posts: 109
|
Ok thanks Phil, will try again using separate /boot for each distro.
If I have understood correctly I should be able to install: CentOS - bootloader to CentOS /boot openSUSE - bootloader to openSUSE /boot Fedora - bootloader to MBR Does that sound correct. |
||
Posted on: 2012/5/16 14:53
|
|||
|
Re: Reinstall /boot partition only - multi-boot with openSUSE | #5 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Yes. If you need help with chainloading try a forum search and see the Wiki articles on GRUB installation and troubleshooting.
|
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/5/16 15:01
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
NickC




You cannot start a new topic.
You can view topic.