[opensuse] Leap 42 Beta - grub problem
r Hi All, I'm having trouble booting into a multi-boot setup after installing Leap 42.1 Beta (openSUSE-Leap-42.1-DVD-x86_64-Build0186). System is a laptop with only 1 hdd. This is the output of fdisk -l: Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x2e3e2e3e Device Boot Start End Sectors Size Id Type /dev/sda1 63 125401087 12540 1025 59.8G 7 HPFS/NTFS/exFAT /dev/sda2 * 125401088 288735231 163334144 77.9G 5 Extended /dev/sda3 288735232 480008191 191272960 91.2G 83 Linux /dev/sda4 480008192 488396799 8388608 4G 82 Linux swap/Solrs /dev/sda5 125403136 288735230 163332095 77.9G 83 Linux Installed: OS 13.1 - sda3, Leap 42 - sda5, win vista - sda1 System now boots into a grub> legacy (0.97) prompt, but there is no menu.
From the prompt I can boot all three systems manually or I can boot into all three systems with a "super grub boot disk". All os's seem to be running ok.
At the grub prompt I tried grub> find /boot/grub/menu.lst -> (hd0,2) grub> root (hd0,2) grub> setup (hd0,1) grub> reboot The procedure completes successfully but there are some non-fatal errors. On rebooting I still only get the grub prompt. I tried re-installing the boot loader from yast boot loader in the 13.1 system but no change. I tried re-installing the boot loader from the leap system (via yast) but no change. The installation of Leap 42 went smoothly except for the problem with grub. Previously I was booting with grub2 (from 13.1), prior to that with the win vista boot manager. It is a 6 years old hp pavillion and I use it for trying out things and for running certain MS software. I have goggled and read articles o In grub, but I can't sort this one out, any help would be appreciated, A fix with either grub or grub-legacy are ok. Gustav. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Gustav Degreef composed on 2015-10-25 10:03 (UTC+0100):
I'm having trouble booting into a multi-boot setup after installing Leap 42.1 Beta (openSUSE-Leap-42.1-DVD-x86_64-Build0186).
System is a laptop with only 1 hdd. This is the output of fdisk -l:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x2e3e2e3e
Device Boot Start End Sectors Size Id Type /dev/sda1 63 125401087 12540 1025 59.8G 7 HPFS/NTFS/exFAT /dev/sda2 * 125401088 288735231 163334144 77.9G 5 Extended /dev/sda3 288735232 480008191 191272960 91.2G 83 Linux /dev/sda4 480008192 488396799 8388608 4G 82 Linux swap/Solrs /dev/sda5 125403136 288735230 163332095 77.9G 83 Linux
Installed: OS 13.1 - sda3, Leap 42 - sda5, win vista - sda1
System now boots into a grub> legacy (0.97) prompt, but there is no menu.
From the prompt I can boot all three systems manually or I can boot into all three systems with a "super grub boot disk". All os's seem to be running ok.
At the grub prompt I tried
grub> find /boot/grub/menu.lst -> (hd0,2) grub> root (hd0,2) grub> setup (hd0,1)
Why setup the extended when 13.1's grub is on (hd0,2)?
grub> reboot
The procedure completes successfully but there are some non-fatal errors. On rebooting I still only get the grub prompt.
I tried re-installing the boot loader from yast boot loader in the 13.1 system but no change. I tried re-installing the boot loader from the leap system (via yast) but no change.
The installation of Leap 42 went smoothly except for the problem with grub. Previously I was booting with grub2 (from 13.1), prior to that with the win vista boot manager. It is a 6 years old hp pavillion and I use it for trying out things and for running certain MS software.
I have goggled and read articles o In grub, but I can't sort this one out, any help would be appreciated, A fix with either grub or grub-legacy are ok. Gustav.
Looks to me like simply moving the boot flag from the extended partition to 13.1's sda3 should fix you up, maybe depending on what code is in the MBR. It may need generic code to replace Grub code if indeed you prefer to be booting using 13.1 as the bootloader master. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Отправлено с iPhone
25 окт. 2015 г., в 12:03, Gustav Degreef <gustav97@gmail.com> написал(а):
r Hi All,
I'm having trouble booting into a multi-boot setup after installing Leap 42.1 Beta (openSUSE-Leap-42.1-DVD-x86_64-Build0186).
System is a laptop with only 1 hdd. This is the output of fdisk -l:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x2e3e2e3e
Device Boot Start End Sectors Size Id Type /dev/sda1 63 125401087 12540 1025 59.8G 7 HPFS/NTFS/exFAT /dev/sda2 * 125401088 288735231 163334144 77.9G 5 Extended /dev/sda3 288735232 480008191 191272960 91.2G 83 Linux /dev/sda4 480008192 488396799 8388608 4G 82 Linux swap/Solrs /dev/sda5 125403136 288735230 163332095 77.9G 83 Linux
Installed: OS 13.1 - sda3, Leap 42 - sda5, win vista - sda1
System now boots into a grub> legacy (0.97) prompt, but there is no menu.
From the prompt I can boot all three systems manually or I can boot into all three systems with a "super grub boot disk". All os's seem to be running ok.
At the grub prompt I tried
grub> find /boot/grub/menu.lst -> (hd0,2) grub> root (hd0,2) grub> setup (hd0,1)
There is no evidence that you actually boot from the second partition. Rather is sounds like grub legacy is installed in MBR and looks for menu.lst which no more exists. In this case above commands do not really change anything. Before using big hammer it may be useful to understand your situation. Run https://github.com/arvidjaar/bootinfoscript/blob/master/bootinfoscript and make results available somewhere (susepaste.org is a good place).
grub> reboot
The procedure completes successfully but there are some non-fatal errors. On rebooting I still only get the grub prompt.
I tried re-installing the boot loader from yast boot loader in the 13.1 system but no change. I tried re-installing the boot loader from the leap system (via yast) but no change.
The installation of Leap 42 went smoothly except for the problem with grub. Previously I was booting with grub2 (from 13.1), prior to that with the win vista boot manager. It is a 6 years old hp pavillion and I use it for trying out things and for running certain MS software.
I have goggled and read articles o In grub, but I can't sort this one out, any help would be appreciated, A fix with either grub or grub-legacy are ok. Gustav.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/25/2015 02:47 PM, Andrei Borzenkov wrote:
ïÔÐÒÁ×ÌÅÎÏ Ó iPhone
25 ÏËÔ. 2015 Ç., × 12:03, Gustav Degreef <gustav97@gmail.com> ÎÁÐÉÓÁÌ(Á):
r Hi All,
I'm having trouble booting into a multi-boot setup after installing Leap 42.1 Beta (openSUSE-Leap-42.1-DVD-x86_64-Build0186).
System is a laptop with only 1 hdd. This is the output of fdisk -l:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x2e3e2e3e
Device Boot Start End Sectors Size Id Type /dev/sda1 63 125401087 12540 1025 59.8G 7 HPFS/NTFS/exFAT /dev/sda2 * 125401088 288735231 163334144 77.9G 5 Extended /dev/sda3 288735232 480008191 191272960 91.2G 83 Linux /dev/sda4 480008192 488396799 8388608 4G 82 Linux swap/Solrs /dev/sda5 125403136 288735230 163332095 77.9G 83 Linux
Installed: OS 13.1 - sda3, Leap 42 - sda5, win vista - sda1
System now boots into a grub> legacy (0.97) prompt, but there is no menu.
From the prompt I can boot all three systems manually or I can boot into all three systems with a "super grub boot disk". All os's seem to be running ok.
At the grub prompt I tried
grub> find /boot/grub/menu.lst -> (hd0,2) grub> root (hd0,2) grub> setup (hd0,1) There is no evidence that you actually boot from the second partition. Rather is sounds like grub legacy is installed in MBR and looks for menu.lst which no more exists. In this case above commands do not really change anything.
Before using big hammer it may be useful to understand your situation. Run https://github.com/arvidjaar/bootinfoscript/blob/master/bootinfoscript and make results available somewhere (susepaste.org is a good place).
Sounds like a good plan, I'll do that and post abck, Gustav. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/25/2015 02:47 PM, Andrei Borzenkov wrote:
ïÔÐÒÁ×ÌÅÎÏ Ó iPhone
25 ÏËÔ. 2015 Ç., × 12:03, Gustav Degreef <gustav97@gmail.com> ÎÁÐÉÓÁÌ(Á):
r Hi All,
I'm having trouble booting into a multi-boot setup after installing Leap 42.1 Beta (openSUSE-Leap-42.1-DVD-x86_64-Build0186).
System is a laptop with only 1 hdd. This is the output of fdisk -l:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x2e3e2e3e
Device Boot Start End Sectors Size Id Type /dev/sda1 63 125401087 12540 1025 59.8G 7 HPFS/NTFS/exFAT /dev/sda2 * 125401088 288735231 163334144 77.9G 5 Extended /dev/sda3 288735232 480008191 191272960 91.2G 83 Linux /dev/sda4 480008192 488396799 8388608 4G 82 Linux swap/Solrs /dev/sda5 125403136 288735230 163332095 77.9G 83 Linux
Installed: OS 13.1 - sda3, Leap 42 - sda5, win vista - sda1
System now boots into a grub> legacy (0.97) prompt, but there is no menu.
From the prompt I can boot all three systems manually or I can boot into all three systems with a "super grub boot disk". All os's seem to be running ok.
At the grub prompt I tried
grub> find /boot/grub/menu.lst -> (hd0,2) grub> root (hd0,2)I grub> setup (hd0,1) There is no evidence that you actually boot from the second partition. Rather is sounds like grub legacy is installed in MBR and looks for menu.lst which no more exists. In this case above commands do not really change anything.
Before using big hammer it may be useful to understand your situation. Run https://github.com/arvidjaar/bootinfoscript/blob/master/bootinfoscript and make results available somewhere (susepaste.org is a good place).
Nice script. I pasted the results at http://susepaste.org/37581655 Thanks for the help Andrei, Gustav. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
25.10.2015 21:43, Gustav Degreef пишет:
On 10/25/2015 02:47 PM, Andrei Borzenkov wrote:
ïÔÐÒÁ×ÌÅÎÏ Ó iPhone
25 ÏËÔ. 2015 Ç., × 12:03, Gustav Degreef <gustav97@gmail.com> ÎÁÐÉÓÁÌ(Á):
r Hi All,
I'm having trouble booting into a multi-boot setup after installing Leap 42.1 Beta (openSUSE-Leap-42.1-DVD-x86_64-Build0186).
System is a laptop with only 1 hdd. This is the output of fdisk -l:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x2e3e2e3e
Device Boot Start End Sectors Size Id Type /dev/sda1 63 125401087 12540 1025 59.8G 7 HPFS/NTFS/exFAT /dev/sda2 * 125401088 288735231 163334144 77.9G 5 Extended /dev/sda3 288735232 480008191 191272960 91.2G 83 Linux /dev/sda4 480008192 488396799 8388608 4G 82 Linux swap/Solrs /dev/sda5 125403136 288735230 163332095 77.9G 83 Linux
Installed: OS 13.1 - sda3, Leap 42 - sda5, win vista - sda1
System now boots into a grub> legacy (0.97) prompt, but there is no menu.
From the prompt I can boot all three systems manually or I can boot into all three systems with a "super grub boot disk". All os's seem to be running ok.
At the grub prompt I tried
grub> find /boot/grub/menu.lst -> (hd0,2) grub> root (hd0,2)I grub> setup (hd0,1) There is no evidence that you actually boot from the second partition. Rather is sounds like grub legacy is installed in MBR and looks for menu.lst which no more exists. In this case above commands do not really change anything.
Before using big hammer it may be useful to understand your situation. Run https://github.com/arvidjaar/bootinfoscript/blob/master/bootinfoscript and make results available somewhere (susepaste.org is a good place).
Nice script. I pasted the results at http://susepaste.org/37581655
Well, you have generic MBR which does boot from active partition (i.e. partition #2 in this case) and this partition does have grub legacy that points to menu.lst and menu.lst exists - but does not contain any menu entry which explains why you do not see any on boot. What does this show? grep '^LOADER_TYPE' /etc/sysconfig/bootloader on 13.1 ans Leap? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/25/2015 07:43 PM, Andrei Borzenkov wrote:
25.10.2015 21:43, Gustav Degreef пишет:
On 10/25/2015 02:47 PM, Andrei Borzenkov wrote:
ïÔÃÃ’Ã×ÌÅÎà Ó iPhone
25 ÃËÔ. 2015 Ç., × 12:03, Gustav Degreef <gustav97@gmail.com> ÃŽÃÃÉÓÃÃŒ(Ã):
r Hi All,
I'm having trouble booting into a multi-boot setup after installing Leap 42.1 Beta (openSUSE-Leap-42.1-DVD-x86_64-Build0186).
System is a laptop with only 1 hdd. This is the output of fdisk -l:
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x2e3e2e3e
Device Boot Start End Sectors Size Id Type /dev/sda1 63 125401087 12540 1025 59.8G 7 HPFS/NTFS/exFAT /dev/sda2 * 125401088 288735231 163334144 77.9G 5 Extended /dev/sda3 288735232 480008191 191272960 91.2G 83 Linux /dev/sda4 480008192 488396799 8388608 4G 82 Linux swap/Solrs /dev/sda5 125403136 288735230 163332095 77.9G 83 Linux
Installed: OS 13.1 - sda3, Leap 42 - sda5, win vista - sda1
System now boots into a grub> legacy (0.97) prompt, but there is no menu.
From the prompt I can boot all three systems manually or I can boot into all three systems with a "super grub boot disk". All os's seem to be running ok.
At the grub prompt I tried
grub> find /boot/grub/menu.lst -> (hd0,2) grub> root (hd0,2)I grub> setup (hd0,1) There is no evidence that you actually boot from the second partition. Rather is sounds like grub legacy is installed in MBR and looks for menu.lst which no more exists. In this case above commands do not really change anything.
Before using big hammer it may be useful to understand your situation. Run https://github.com/arvidjaar/bootinfoscript/blob/master/bootinfoscript and make results available somewhere (susepaste.org is a good place).
Nice script. I pasted the results at http://susepaste.org/37581655
Well, you have generic MBR which does boot from active partition (i.e. partition #2 in this case) and this partition does have gru
b legacy that points to menu.lst and menu.lst exists - but does not contain any menu entry which explains why you do not see any on boot. What does this show?
grep '^LOADER_TYPE' /etc/sysconfig/bootloader
on 13.1 ans Leap?
The output is: Leap 42 - LOADER_TYPE="grub2" 13.1 LOADER_TYPE="grub" Prior to installing Leap 42, the master boot loader was grub2 from the 13.1 install. After Leap messed up the boot loader one of the steps I tried was to install grub legacy from the 13.1 install. Is there a way to "recover" the boot sections? From either the 13.1 installation or from the Leap 42? Gustav. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Oct 27, 2015 at 3:30 AM, Gustav Degreef <gustav97@gmail.com> wrote:
The output is:
Leap 42 - LOADER_TYPE="grub2"
13.1 LOADER_TYPE="grub"
Prior to installing Leap 42, the master boot loader was grub2 from the 13.1 install. After Leap messed up the boot loader one of the steps I tried was to install grub legacy from the 13.1 install. Is there a way to "recover" the boot sections? From either the 13.1 installation or from the Leap 42?
I guess you need to decide which OS and which bootloader you want to use. I honestly have no idea how "Detect Foreign OS" worked with grub-legacy. You can simply change grub to grub2 in yast-bootloader on 13.1 and it should give you back grub2 menu. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/27/2015 07:08 AM, Andrei Borzenkov wrote:
On Tue, Oct 27, 2015 at 3:30 AM, Gustav Degreef <gustav97@gmail.com> wrote:
The output is:
Leap 42 - LOADER_TYPE="grub2"
13.1 LOADER_TYPE="grub"
Prior to installing Leap 42, the master boot loader was grub2 from the 13.1 install. After Leap messed up the boot loader one of the steps I tried was to install grub legacy from the 13.1 install. Is there a way to "recover" the boot sections? From either the 13.1 installation or from the Leap 42? I guess you need to decide which OS and which bootloader you want to use. I honestly have no idea how "Detect Foreign OS" worked with grub-legacy. You can simply change grub to grub2 in yast-bootloader on 13.1 and it should give you back grub2 menu.
Thanks for your continued input. I think using grub2 via the 13.1 system makes the most sense. I initially installed grub2 from Leap 42. When that did not work, I re-installed the boot loader (via yast) from the Leap system (changing the location of the boot loader from the extended partition to the mbr). When that did not succeed I went into the 13.1 system and installed grub2 to the extended partition and that failed. I then changed to grub-legacy. In the end I had I installed the boot loader about 5-6 times before posting. My preference would be to fix the boot process in a way that will not introduce further errors. I have not yet come to understand grub2 well, but I prefer to go that route. The Leap installation will eventually be replaced since it is only a Beta so I will not put much effort into it. Gustav. p.s. I think you are replying directly to me, instead of the list. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-10-27 08:54, Gustav Degreef wrote:
p.s. I think you are replying directly to me, instead of the list.
No, he is replying to both :-) The problem is that you have a gmail address. Gmail gets first the direct copy; the copy via the list, having to traverse more machines, arrives later. When it does, gmail considers the second one (whichever it is) a duplicate (same message ID), and silently erases it. So you get only the direct copy. This is not configurable :-( IMO, it is a gmail bug-feature. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 10/27/2015 01:58 PM, Carlos E. R. wrote:
On 2015-10-27 08:54, Gustav Degreef wrote:
p.s. I think you are replying directly to me, instead of the list. No, he is replying to both :-)
The problem is that you have a gmail address. Gmail gets first the direct copy; the copy via the list, having to traverse more machines, arrives later. When it does, gmail considers the second one (whichever it is) a duplicate (same message ID), and silently erases it.
So you get only the direct copy.
This is not configurable :-(, IMO, it is a gmail bug-feature.
OK, I understand, Gustav. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/27/2015 07:08 AM, Andrei Borzenkov wrote:
On Tue, Oct 27, 2015 at 3:30 AM, Gustav Degreef <gustav97@gmail.com> wrote:
The output is:
Leap 42 - LOADER_TYPE="grub2"
13.1 LOADER_TYPE="grub"
Prior to installing Leap 42, the master boot loader was grub2 from the 13.1 install. After Leap messed up the boot loader one of the steps I tried was to install grub legacy from the 13.1 install. Is there a way to "recover" the boot sections? From either the 13.1 installation or from the Leap 42? I guess you need to decide which OS and which bootloader you want to use. I honestly have no idea how "Detect Foreign OS" worked with grub-legacy. You can simply change grub to grub2 in yast-bootloader on 13.1 and it should give you back grub2 menu..1
I booted into 13.1 went into yast > bootloader, switched from grub-legacy to grub2, kept the default - to boot from the extended partition and only put generic code into the MBR. And it worked! I only had to re-run the boot loader module again to set the proper default boot section (which did not appear the first time). I think that the main problem was that I had just gotten quite muddled in my thinking. And it only took thinking about it clearly guided by thinking through the posts, the good replies and googling for pages on grub2. Gustav.
ch
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
Carlos E. R.
-
Felix Miata
-
Gustav Degreef