Hi,
is there any way howto put /boot on LVM?
I’d like use grub2 but I’ve not found any package in OBS.
And I assume yast will force me to use /boot on separated part. during instalation …
Could you help me?
Hi,
is there any way howto put /boot on LVM?
I’d like use grub2 but I’ve not found any package in OBS.
And I assume yast will force me to use /boot on separated part. during instalation …
Could you help me?
There is no grub2 in openSUSE 11.2
There is no way that I know of to move your /boot to the LVM. The /boot contains neccessary binaries and shared libraries to mount the LVM.
Check out this page for more information on Grub in OpenSuse:
GRUB - openSUSE
Thats why I want use grub2 since it supports booting from LVM: LVMandRAID - GRUB Wiki.
…maybe I’ll try do this in my test VM machine:
Lets see if I’m successfull :")
Let me know if it works.
Hi,
grub2 installed succesfully from source.
but I stucked with this error message:
suse64:/boot # grub-install /dev/sda
grub-setup: warn: Attempting to install GRUB to a partitionless disk. This is a BAD idea.
grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
suse64:/boot # grub-setup -v /dev/sda
grub-setup: info: the size of hd0 is 41943040
grub-setup: info: the size of hd0 is 41943040
grub-setup: info: the size of hd0 is 41943040
grub-setup: info: the size of hd0 is 41943040
grub-setup: info: the size of hd0 is 41943040
grub-setup: info: changing current directory to /dev
grub-setup: info: changing current directory to net
grub-setup: info: changing current directory to rootvg
grub-setup: info: changing current directory to disk
grub-setup: info: changing current directory to by-label
grub-setup: info: changing current directory to by-uuid
grub-setup: info: changing current directory to by-id
grub-setup: info: changing current directory to by-path
grub-setup: info: changing current directory to block
grub-setup: info: changing current directory to bus
grub-setup: info: changing current directory to usb
grub-setup: info: changing current directory to 002
grub-setup: info: changing current directory to 001
grub-setup: info: changing current directory to bsg
grub-setup: info: changing current directory to input
grub-setup: info: changing current directory to by-path
grub-setup: info: changing current directory to cpu
grub-setup: info: changing current directory to 0
grub-setup: info: changing current directory to char
grub-setup: info: changing current directory to mapper
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: reading /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: reading /boot/grub/core.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: the size of hd0 is 41943040
grub-setup: info: setting the root device to `rootvg-bootlv'
grub-setup: info: dos partition is -2, bsd partition is -2
grub-setup: warn: Attempting to install GRUB to a partitionless disk. This is a BAD idea. //since I assigned whole sda to LVM this is what I want
grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume. // Don't know where is the problem...
An alternative is to install a minimal Ubuntu 9.10 in a separate partition, let it install Grub2 in MBR (which is the default anyway) and (re-)install openSUSE’s Grub in openSUSE’s boot partition. Then you will be able either to chainload openSUSE or boot the kernel directly, and your Grub2 won’t conflict with openSUSE’s packages.
This is a good idea!
Hi fellas!
I’m completely new to openSUSE but I’m charmed right form the installer!
Sorry for the kickstart but I need some help installing openSUSE.
I have 2 HDDs partitioned as follow:
HDD1:
sda1 - Win XP 32 SP3, NTFS :disapointed:
sda5 - Ubuntu 9.10 64bit (multilib), ext4
sda6 - linux swap
sda7 - gentoo 64bit (multilib), ext4
HDD2:
sdb1 - one big NTFS partition
I first installed Win, then Ubuntu (grub2 via the automated installer) and finally gentoo.
The question is: How to install openSUSE on sda5 (wiping Ubuntu) w/o actually thrashing the MBR? No need to keep grub2, though.
Thanks!
Are you suggesting grub is not on MBR currently?
But as to installing, just select to install to sda5. Use custom partitioning to select that
Custom Install.mpeg.rar - Windows Live
11.2 Slideshow Images - Windows Live
I would have preferred to see result of
fdisk -l
If you were using grub2 it almost certainly was written to MBR
I’m sure grub2 is on MBR. How should everything else work?
Will provide fdisk output soon.
But if I install it on sda5, won’t the grub2 config files go to hell?
Or, let’s just keep it simple. If I install oS on sda5, will the installer replace grub2 with good ol’ grub? I mean without any pain for the user (me)?
I actually can’t afford losing the M$ Win partition. I might get killed;)(angry relatives) if the machine can’t boot in Win by tapping ‘Enter’ or just waiting for the timer in grub boot menu…
P.S. Thanks for the quick answers, seems this community has it too. Keep up!
So install suse to the partition you desire, don’t install a bootloader
Then run
sudo update-grub
from ubuntu
and it should pick up suse
Thanks to all of you!
I think it’s exactly I was looking for!
BTW, shall the installer autoconfigure grub, so it’d automatically pick Win/Gentoo? I’m aiming for auto pick/start Win and 5sec wait window, so I could tap ‘c’ if I want.
You provided some neat shots. I haven’t gone that far in the installer yet.
And an interesting question (or at least for me) about grbu in MBR or ‘/’: If grub’s not in the MBR how the BIOS would know where to pass the wheel after POST? Isn’t this the thing called ‘chainloading’, i.e. I have a boot manager on MBR and it chainloads the other boot manager at ‘/’?
Anyway, thanks for helping the poor n00b out! Man, I got working Gentoo from scratch just by myself, so I doubt this fancy, shiny, fool-proof setup thingy will stop me! Nerd power!rotfl!
Yes. It should find Windows and Gentoo … but it wouln’t have found Ubuntu because of Grub2. If Gentoo doesn’t boot, you can later mount you Gentoo partition and copy the Gentoo Grub entries from /mnt/gentoo/grub/boot/menu.lst to /boot/grub/menu.lst (assuming your Gentoo partition is mounted under /mnt/gentoo).
It will boot the primary partition which has the active flag set or issu an error if none of the primary partitions is active.
Isn’t this the thing called ‘chainloading’, i.e. I have a boot manager on MBR and it chainloads the other boot manager at ‘/’?
Correct. You can have Grub in several locations and chainload one grub from the other one and vice-versa … the whole night around if you enjoy endless booting (I do that sometimes lol!)
Man, I got working Gentoo from scratch just by myself, so I doubt this fancy, shiny, fool-proof setup thingy will stop me!
It won’t.