[opensuse] Installation of 11.4 fails: Error 22 for GRUB
Hello, I want to install Suse 11.4 on a Laptop (HP-G62) with Windows 7 on it (no previous Linux). I created three partitions for / (ext4, 20GB), /home (ext4, 100GB) and swap (4GB). Now at the end of the installation process, either when installing grub into MBR or the other possibility (forget what it was called, but there are two possibilities), I get the following error message: ------------- GNU GRUB version 0.97 (640K lower / 3072 upper memory) [ ... ] grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd0,4) Error 22: No such partition grub> quit ------------- I didn't find something relevant in the Internet on that. Shall I perhaps create also a dedicated partition for /boot ? (And if so, what size should it have?) Thanks for your consideration. Oliver -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
A bit additional information: In the installation process, under "Installationseinstellungen" (perhaps "Configuration data") we find the point "Systemstart" (perhaps "Boot process"), which says Bootloader-Typ: GRUB Status Lokation: /dev/sda5 ("/") Lokation: Boot aus MBV ist deaktiviert ("deactivated") Boot aus "/"-Partition ist aktiviert I tried both of these location, with identical results (the error message below). It furthermore says (my translation): The booloader is installed in a partition, which does not lie fully below 128GB. The system possibly won't start, if the BIOS only supports iba24 (the result is error 18 when installing the grub-MBRs). That message is obscure (as, unfortunately, the whole business of partitioning and booting with Suse), it doesn't explain what it means, and it doesn't say would needs to be done. But I guess the HP-bios should be able to boot Linux, and there is no error 18. I would be really thankful for any hint. Oliver On Tue, Jul 05, 2011 at 11:42:42AM +0100, Oliver Kullmann wrote:
Hello,
I want to install Suse 11.4 on a Laptop (HP-G62) with Windows 7 on it (no previous Linux).
I created three partitions for / (ext4, 20GB), /home (ext4, 100GB) and swap (4GB).
Now at the end of the installation process, either when installing grub into MBR or the other possibility (forget what it was called, but there are two possibilities), I get the following error message:
------------- GNU GRUB version 0.97 (640K lower / 3072 upper memory) [ ... ] grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd0,4) Error 22: No such partition grub> quit -------------
I didn't find something relevant in the Internet on that.
Shall I perhaps create also a dedicated partition for /boot ? (And if so, what size should it have?)
Thanks for your consideration.
Oliver
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Further information: Now I created a dedicated /boot-partition: The error message now says: grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0,3)(hd0,3) Error 17: Cannot mount selected partition. grub> quit (Sure, it should be the case that more information is given. "Cannot" says nothing. And obviously the system should now about the *typical* problems when installing Suse on a laptop with windows (or has Suse given up on this?)) Oliver On Tue, Jul 05, 2011 at 11:42:42AM +0100, Oliver Kullmann wrote:
Hello,
I want to install Suse 11.4 on a Laptop (HP-G62) with Windows 7 on it (no previous Linux).
I created three partitions for / (ext4, 20GB), /home (ext4, 100GB) and swap (4GB).
Now at the end of the installation process, either when installing grub into MBR or the other possibility (forget what it was called, but there are two possibilities), I get the following error message:
------------- GNU GRUB version 0.97 (640K lower / 3072 upper memory) [ ... ] grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd0,4) Error 22: No such partition grub> quit -------------
I didn't find something relevant in the Internet on that.
Shall I perhaps create also a dedicated partition for /boot ? (And if so, what size should it have?)
Thanks for your consideration.
Oliver
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Okay, that funny installation process (which one can not stop apparently once it gets behind the first phase of installation, where then the bootloader-installation fails --- shouldn't this be the FIRST thing to install and check??) apparently now succeeded at least in changing the boot-process of the machine (using /boot for the bootloader): When starting the machine it says now: Error No operating system Apparently that's where the typical boot-choice-menu would show up, but since it wasn't installed correctly (without a chance of doing anything on that), now nothing works anymore. How do I get rid off that, and enable at least the Windows again? I would really appreciate some information. Oliver On Tue, Jul 05, 2011 at 02:49:18PM +0100, Oliver Kullmann wrote:
Further information:
Now I created a dedicated /boot-partition:
The error message now says:
grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0,3)(hd0,3) Error 17: Cannot mount selected partition. grub> quit
(Sure, it should be the case that more information is given. "Cannot" says nothing. And obviously the system should now about the *typical* problems when installing Suse on a laptop with windows (or has Suse given up on this?))
Oliver
On Tue, Jul 05, 2011 at 11:42:42AM +0100, Oliver Kullmann wrote:
Hello,
I want to install Suse 11.4 on a Laptop (HP-G62) with Windows 7 on it (no previous Linux).
I created three partitions for / (ext4, 20GB), /home (ext4, 100GB) and swap (4GB).
Now at the end of the installation process, either when installing grub into MBR or the other possibility (forget what it was called, but there are two possibilities), I get the following error message:
------------- GNU GRUB version 0.97 (640K lower / 3072 upper memory) [ ... ] grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd0,4) Error 22: No such partition grub> quit -------------
I didn't find something relevant in the Internet on that.
Shall I perhaps create also a dedicated partition for /boot ? (And if so, what size should it have?)
Thanks for your consideration.
Oliver
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2011/07/05 14:59 (GMT+0100) Oliver Kullmann composed:
When starting the machine it says now:
Error No operating system
Apparently that's where the typical boot-choice-menu would show up, but since it wasn't installed correctly (without a chance of doing anything on that), now nothing works anymore.
How do I get rid off that, and enable at least the Windows again?
I would really appreciate some information.
Even though your thread has provided a lot of information, important things have been left out. Was/is the original installation by HP an EFI type, or PC standard MBR? Is/was there a restore partition? How many partitions were there originally? Was there a restore partition that you eliminated? How did you make the Linux partitions in the first place? Did you use Windows' built-in partition resizer first, then create the additional partitions during oS installation? Did you use the oS installer for all partitioning? Or did you first/only use some other partitioner (what I always do)? What is the current output of fdisk -l? IOW, what type of partition is your new /boot? It needs to be a primary to work with standard MBR code, which is the preferred type when using Win7. If you've replaced the standard MBR code with Grub, you've become dependent on Grub working correctly for access to Win7. It sounds to me like at this point you have a failed Grub MBR installation, and MBR needs to be restored to standard, along with resetting the boot flag in the MBR to the Win7 "boot" partition in order to restore Win7 bootability. If you can't figure out how to get the oS install media into recovery mode there are multiple varying ways to get standard MBR code back, along with setting the boot flag. A bootable MS DOS or FreeDOS floppy can do it. DFSee can do it, from floppy, CD or Knoppix boot. Any live Linux CD's fdisk can set the flag. A CD made from http://ultimatebootcd.com/ can do it, and more. Why you've had the Grub trouble during oS installation I'm at a loss to guess, since I have no hands on experience installing alongside Win7. It should work, though there are bumps in the process possible as a result of different ways different vendors install Win7. The bumps are mentioned in various archived mailing list threads and in the forums, both oS and other distros. -- "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 For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jul 05, 2011 at 10:27:13AM -0400, Felix Miata wrote:
On 2011/07/05 14:59 (GMT+0100) Oliver Kullmann composed:
When starting the machine it says now:
Error No operating system
Apparently that's where the typical boot-choice-menu would show up, but since it wasn't installed correctly (without a chance of doing anything on that), now nothing works anymore.
How do I get rid off that, and enable at least the Windows again?
I would really appreciate some information.
Even though your thread has provided a lot of information, important things have been left out.
Was/is the original installation by HP an EFI type, or PC standard MBR?
I don't know. I have never seen that any such information would be provided by any laptop-provider.
Is/was there a restore partition?
There is such a thing, but when trying to go into it, all what results is just "no operating system available".
How many partitions were there originally?
4
Was there a restore partition that you eliminated?
Nothing was eliminated.
How did you make the Linux partitions in the first place? Did you use Windows' built-in partition resizer first, then create the additional partitions during oS installation?
The installation-process yields, as I think is usual for Suse, that "parted" can not create or change any partitions. So I did shrink the main partition from windows, and created then three further partitions from it.
Did you use the oS installer for all partitioning?
What is "oS" ? All what is there is the Windows system and the Suse DVD. Suse can not partition anything, and so Windows did all. Then with the Suse installation I assigned /, /boot, swap and /home. No warnings etc., and I donn't think there is any principle problem here. (I did the same in the past; it was always like that with Suse.)
Or did you first/only use some other partitioner (what I always do)?
I didn't use any other partitioner.
What is the current output of fdisk -l?
How would I get that? All what is left is - rerun the installation, but that yields always the same - there is some rescue system in the Suse menu, but no information how to use that, so I have no clue what to do with it.
IOW, what type of partition is your new /boot? It needs to be a primary
What does "primary" mean? And shouldn't the Suse installation process tell me, if the partition is not suitable?
to work with standard MBR code, which is the preferred type when using Win7. If you've replaced the standard MBR code with Grub, you've become dependent on Grub working correctly for access to Win7.
But I the old partitions should stil be untouched. The inaccessibility of windows only occurred with using a special /boot-partition. So there should be some way to get it back to the old state, with a working system?
It sounds to me like at this point you have a failed Grub MBR installation,
I guess so
and MBR needs to be restored to standard, along with resetting the boot flag in the MBR to the Win7 "boot" partition in order to restore Win7 bootability. If you can't figure out how to get the oS install media into recovery mode there are multiple varying ways to get standard MBR code back, along with setting the boot flag. A bootable MS DOS or FreeDOS floppy can do it.
The laptop didn't come with anything else except of the usual "your great laptop is here".
DFSee can do it, from floppy, CD or Knoppix boot. Any live Linux CD's fdisk can set the flag. A CD made from http://ultimatebootcd.com/ can do it, and more.
I have another Linux-laptop, and I have a spare DVD. Nothing else. Can one do it with that?
Why you've had the Grub trouble during oS installation I'm at a loss to guess, since I have no hands on experience installing alongside Win7. It should work, though there are bumps in the process possible as a result of different ways different vendors install Win7. The bumps are mentioned in various archived mailing list threads and in the forums, both oS and other distros.
What I can see is that with no newer laptop with Windows 7 on it on can install Suse anymore --- all three other cases I know of the harddisk had to be erased, due to these now standard HP/Dell etc. special partitions. thanks for your help! Oliver -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
This happened to me a while back with 11.4 as well Felix and others helped me out. Look back for subject "System hosed" -- The eye sees only what the mind is prepared to comprehend. -- Henry Bergson, French Philosopher (1859-1941). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jul 05, 2011 at 11:27:20AM -0400, Anton Aylward wrote:
This happened to me a while back with 11.4 as well
Felix and others helped me out. Look back for subject "System hosed"
Thanks for the tip. Unfortunately, I don't know any of the tools mentioned, and thus I can't transfer it (or just apply it) to my situation. It seems that just that boot-record has been deleted/damaged, and only that needs to be brought back. Suse used to have a repair-option in the installation-system, with some generic options. But only "Rescue system" is left, which is of no use to me, since I have no clue about the commands which could be used here. So well, just to try it out, I went to that Rescue system, logged in as root. And now??? What needed would be a simple menu entry "Restore boot record" (and I guess that thing could be just stored in memory during the installation --- 100 MB isn't much). Oliver
-- The eye sees only what the mind is prepared to comprehend. -- Henry Bergson, French Philosopher (1859-1941). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2011/07/05 23:39 (GMT+0100) Oliver Kullmann composed:
Thanks for the tip. Unfortunately, I don't know any of the tools mentioned, and thus I can't transfer it (or just apply it) to my situation.
It seems that just that boot-record has been deleted/damaged, and only that needs to be brought back.
Suse used to have a repair-option in the installation-system, with some generic options.
It got too complicated to maintain by the available maintenance resources, so was dropped.
But only "Rescue system" is left, which is of no use to me, since I have no clue about the commands which could be used here.
So well, just to try it out, I went to that Rescue system, logged in as root. And now???
Execute command help at the rescue prompt. # help That lists commands internal to the rescue shell. # fdisk Allows you to put a bootable flag back on the Win7 "boot" partition, among other things, like "printing" (display on screen) out the table so that we can see what you have that may help us help you. # mount Like in normal mode, allows to mount a partition in order to access its contents. Once you've figured out which partition contains your Linux boot files, whether separate /boot or /boot on /, you mount that partition, then restore the MBR copy that the openSUSE installer created there as "backup_mbr". Ordinarily, you could use dd to write that file back to the MBR, but in your case you tried installing both without a separate /boot partition and again with. Only whichever you did first, if it still exists, would put you back where you were originally, so I'd skip this attempt to fix route entirely.
What needed would be a simple menu entry "Restore boot record"
If you could boot DOS, either floppy, USB stick or optical disk, then all you'd need is: C:\> fdisk /mbr Then open fdisk interactively and ensure that the active flag is set on the Win7 "boot" partition. As I suggested upthread, http://ultimatebootcd.com/ has an iso you can burn that enables such repairs as well as many others, and hardware tests, and more. It includes Ranish Partition Manager, which can write a new standard MBR (partman /mbr) as well as set the boot flag (interactive operation). See also http://en.opensuse.org/SDB:Restoring_Windows_MBR -- "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 For additional commands, e-mail: opensuse+help@opensuse.org
As I suggested upthread, http://ultimatebootcd.com/ has an iso you can burn that enables such repairs as well as many others, and hardware tests, and more. It includes Ranish Partition Manager, which can write a new standard MBR (partman /mbr) as well as set the boot flag (interactive operation).
Do you mean "Boot Partition"? At http://www.winimage.com/bootpart.htm it doesn't mention Windows 7, and thus I guess it won't help? Anyway, I burned it to DVD, but the laptop can not boot it: "No bootable device --- insert boot disk and press any key" where (of course) I enabled booting from CD/DVD (same as with the Suse DVD which still works).
I don't have an "install CD" (I don't remember that I ever got such a thing; definitely not with the last two laptops I bought). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, it seems hopeless to rescue the Windows 7 partition, without buying an installation disc, and that I don't want to do. I have still some time to return the laptop, and until then I'll try installing just Suse on it, seeing whether it is acceptable (it is a gift for my nephew). But just forgetting about the windows isn't so easy, since the Suse installation process can't repartition anything (so it says). So apparently I have to use the Suse rescue system and then fdisk on it? I would be glad if somebody could recommend how to use it, so that then I won't have problems with the Suse 11.4 installation. Oliver On Wed, Jul 06, 2011 at 08:22:57AM +0100, Oliver Kullmann wrote:
As I suggested upthread, http://ultimatebootcd.com/ has an iso you can burn that enables such repairs as well as many others, and hardware tests, and more. It includes Ranish Partition Manager, which can write a new standard MBR (partman /mbr) as well as set the boot flag (interactive operation).
Do you mean "Boot Partition"? At http://www.winimage.com/bootpart.htm it doesn't mention Windows 7, and thus I guess it won't help?
Anyway, I burned it to DVD, but the laptop can not boot it:
"No bootable device --- insert boot disk and press any key"
where (of course) I enabled booting from CD/DVD (same as with the Suse DVD which still works).
I don't have an "install CD" (I don't remember that I ever got such a thing; definitely not with the last two laptops I bought).
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- Dr. Oliver Kullmann Department of Computer Science College of Science, Swansea University Faraday Building, Singleton Park Swansea SA2 8PP, UK http://cs.swan.ac.uk/~csoliver/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oliver Kullmann wrote:
the Suse installation process can't repartition anything (so it says).
Eh? You can repartition when you install opensuse. Where do you think it says it can't? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, Jul 06, 2011 at 11:44:31AM +0100, Dave Howorth wrote:
Oliver Kullmann wrote:
the Suse installation process can't repartition anything (so it says).
Eh? You can repartition when you install opensuse. Where do you think it says it can't?
At point (translated from German) "system check" in the installation process a box shows up with "The partitioning on /dev/sda can not be performed by parted. You can take over the partitions. You can format them and mount them. However, with this tool you can not add partitions, edit them, remove them, or change their size." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2011/07/06 11:54 (GMT+0100) Oliver Kullmann composed:
On Wed, Jul 06, 2011 at 11:44:31AM +0100, Dave Howorth wrote:
Oliver Kullmann wrote:
the Suse installation process can't repartition anything (so it says).
Eh? You can repartition when you install opensuse. Where do you think it says it can't?
At point (translated from German) "system check" in the installation process a box shows up with
"The partitioning on /dev/sda can not be performed by parted. You can take over the partitions. You can format them and mount them. However, with this tool you can not add partitions, edit them, remove them, or change their size."
Sounds like what you bought was an EFI boot laptop, and parted outside of YaST2 cannot deal with it. http://lmgtfy.com/?q=windows+efi+boot Since it is new, I'd take it to the store and suggest to it that you will return it if it doesn't supply restore media, which at this point (due to EFI/GPT) you may be in need of if you want Win7 to work again. -- "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 For additional commands, e-mail: opensuse+help@opensuse.org
Felix Miata wrote:
Do you have a link that doesn't require Javascript? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Mittwoch, 6. Juli 2011, 13:38:32 schrieb Dave Howorth:
Felix Miata wrote:
Do you have a link that doesn't require Javascript?
the link just shows you how to use google and start a search for the keywords windows efi boot. Sven -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Sounds like what you bought was an EFI boot laptop, and parted outside of YaST2 cannot deal with it. http://lmgtfy.com/?q=windows+efi+boot
Yes, looks like that (searching for HP G-62, "efi" shows up in boot-related contexts).
Since it is new, I'd take it to the store and suggest to it that you will return it if it doesn't supply restore media, which at this point (due to EFI/GPT) you may be in need of if you want Win7 to work again.
It was purchased over the Internet, and they don't do anything, except of taking it back (fortunately I purchased a return-insurance when I bought it, so they take it back anyway). But that laptop is (was meant) a present for my nephew, and tomorrow I'm returning (from Germany to UK), so I still hope I can manage to present something --- otherwise he had to wait another 6 months (it is already 6 months late, because last Christmas I couldn't come). The windows is only for him and my family here in Germany, which never used any non-windows-system (and they have zero relation to computers anyway). The Linux was meant as a "Trojan horse", hopefully attracting his attention and curiosity (with some cool software installed). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Felix Miata wrote:
On 2011/07/06 11:54 (GMT+0100) Oliver Kullmann composed:
On Wed, Jul 06, 2011 at 11:44:31AM +0100, Dave Howorth wrote:
Oliver Kullmann wrote:
the Suse installation process can't repartition anything (so it says).
Perhaps there's a language issue here. The above is a general assertion that opensuse installer can't do something. What you meant (it appears - see below) is that it told you that it can't partition your particular disk.
Eh? You can repartition when you install opensuse. Where do you think it says it can't?
At point (translated from German) "system check" in the installation process a box shows up with
"The partitioning on /dev/sda can not be performed by parted. You can take over the partitions. You can format them and mount them. However, with this tool you can not add partitions, edit them, remove them, or change their size."
Sounds like what you bought was an EFI boot laptop, and parted outside of YaST2 cannot deal with it. http://lmgtfy.com/?q=windows+efi+boot
OK, so it's likely the disk has a GPT instead of MSDOS partitions, and opensuse installer uses parted that can't handle it. So you need to run a system from DVD and then use gparted or something that can deal with GPT. There may be something useful in these links: http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/efi-boot-process.ht... http://www.rodsbooks.com/gdisk/booting.html http://docstore.mik.ua/manuals/hp-ux/en/5991-1247B/ch05s21.html Given that \efi\SuSE\elilo.efi exists, I'm surprised the installer apparently doesn't handle this case. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, Jul 06, 2011 at 02:03:53PM +0100, Dave Howorth wrote:
Felix Miata wrote:
On 2011/07/06 11:54 (GMT+0100) Oliver Kullmann composed:
On Wed, Jul 06, 2011 at 11:44:31AM +0100, Dave Howorth wrote:
Oliver Kullmann wrote:
the Suse installation process can't repartition anything (so it says).
Perhaps there's a language issue here. The above is a general assertion that opensuse installer can't do something. What you meant (it appears - see below) is that it told you that it can't partition your particular disk.
((Just a remark regarding the language: I think it's a general rule on the use of natural languages, that assertions are situation-specific, especially those *within* a specific context (like here), and are not universally quantified over all possible situations. Thus the "anything" is related (only) to the situation at hand, and then it's correct.))
OK, so it's likely the disk has a GPT instead of MSDOS partitions, and opensuse installer uses parted that can't handle it. So you need to run a system from DVD and then use gparted or something that can deal with GPT.
There may be something useful in these links: http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/efi-boot-process.ht... http://www.rodsbooks.com/gdisk/booting.html http://docstore.mik.ua/manuals/hp-ux/en/5991-1247B/ch05s21.html
Given that \efi\SuSE\elilo.efi exists, I'm surprised the installer apparently doesn't handle this case. --
Thanks for the input! But now that laptop goes back, and that's it for now. Oliver -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2011/07/06 03:22 (GMT-0400) Oliver Kullmann composed:
As I suggested upthread, http://ultimatebootcd.com/ has an iso you can burn that enables such repairs as well as many others, and hardware tests, and more. It includes Ranish Partition Manager, which can write a new standard MBR (partman /mbr) as well as set the boot flag (interactive operation).
Do you mean "Boot Partition"?
In what regard? There's no mention of it in what you quoted.
At http://www.winimage.com/bootpart.htm it doesn't mention Windows 7, and thus I guess it won't help?
That tool is for manipulating data on a Windows partition, which is not your current problem.
Anyway, I burned it to DVD, but the laptop can not boot it:
"No bootable device --- insert boot disk and press any key"
OK, so you've proven you can burn an irrelevant iso that won't boot. Now burn one capable of booting and MBR manipulation. Everything that needs doing now goes into the first disk sector, not into any partitions, something doable by any of my upthread suggestions as well as the Ultimate Boot CD. It may even be possible with the openSUSE boot media, but I never found out what tool if any it provides to write standard MBR code.
where (of course) I enabled booting from CD/DVD (same as with the Suse DVD which still works).
AFAICT, /usr/lib/boot/master-boot-code should have been installed by the openSUSE installer, and available via rescue boot. However writing the whole 512 bytes would overwrite the partition table as well, and it comes with no instructions. I'm guessing it might work from rescue boot thus: # cd /mnt/usr/lib/boot (or wherever the openSUSE / is mounted) # dd if=master-boot-code of=/dev/sda bs=446 count=1 But so far I've not located confirmation that this would be the correct dd syntax using Google. The actual MBR content in that file isn't even 446 bytes, but more like 403. Regardless how that would be done, fdisk or cfdisk or parted needs to be opened to set the boot flag on the Win7 boot partition.
I don't have an "install CD" (I don't remember that I ever got such a thing; definitely not with the last two laptops I bought).
WinV & Win7 have tools to create one built into the OS that the (cheap @#$#$@#) system vendors expect you do do yourself instead of spending the $0.50USD to provide one with the machine. Of course, it doesn't do you any good after you've messed up the system or the HD has died. If you can get your hands on a WinXP installation CD, boot its recovery console and do fixmbr to install generice MBR code: http://support.microsoft.com/kb/314058 Or any Vista or Win7 installation DVD: http://support.microsoft.com/kb/927392 FWIW, if that laptop was here, here's how I would fix it: 1-boot from DFSee CD or USB stick (which will autorun DFSDOS.EXE) 2-F10 (exits DFSee menu system) 3-observe on screen the existing partitioning, to determine where the boot flag needs to go (probably the first partition) 4-startable 1 (set boot flag on partition 1, unset any other boot flags) 5-newmbr 1 (install generic MBR code on first HD) 6-F3 (quit program) 7-reboot into Win7 DFSee is a non-free, cross-platform (executables native to Mac, Linux, DOS, Windows & OS/2) partitioner and more that can be test driven for up to 30 days without purchasing a license. You could boot a Knoppix or other live CD or DVD, download and extract and run the Linux version. -- "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 For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, Jul 06, 2011 at 07:48:50AM -0400, Felix Miata wrote:
On 2011/07/06 03:22 (GMT-0400) Oliver Kullmann composed:
As I suggested upthread, http://ultimatebootcd.com/ has an iso you can burn that enables such repairs as well as many others, and hardware tests, and more. It includes Ranish Partition Manager, which can write a new standard MBR (partman /mbr) as well as set the boot flag (interactive operation).
Do you mean "Boot Partition"?
In what regard? There's no mention of it in what you quoted.
That means the tool from the list at http://www.ultimatebootcd.com/. "Boot management" seems a reasonable headline.
At http://www.winimage.com/bootpart.htm it doesn't mention Windows 7, and thus I guess it won't help?
That tool is for manipulating data on a Windows partition, which is not your current problem.
It says, "repair the Windows NT loader boot sector". Anyway, it was just a question.
Anyway, I burned it to DVD, but the laptop can not boot it:
"No bootable device --- insert boot disk and press any key"
OK, so you've proven you can burn an irrelevant iso that won't boot.
Why is ubcd503.iso irrelevant?
Now burn one capable of booting and MBR manipulation. Everything that needs doing now goes into the first disk sector, not into any partitions, something doable by any of my upthread suggestions as well as the Ultimate Boot CD.
As I said, that "Ultimate Boot CD" does not boot. In the FAQ one finds some suggestions about perhaps not using RW-DVD. But I'm far outside of the city here, and have only DVDs.
It may even be possible with the openSUSE boot media, but I never found out what tool if any it provides to write standard MBR code.
where (of course) I enabled booting from CD/DVD (same as with the Suse DVD which still works).
AFAICT, /usr/lib/boot/master-boot-code should have been installed by the openSUSE installer, and available via rescue boot. However writing the whole 512 bytes would overwrite the partition table as well, and it comes with no instructions. I'm guessing it might work from rescue boot thus:
# cd /mnt/usr/lib/boot (or wherever the openSUSE / is mounted) # dd if=master-boot-code of=/dev/sda bs=446 count=1
But so far I've not located confirmation that this would be the correct dd syntax using Google. The actual MBR content in that file isn't even 446 bytes, but more like 403.
Regardless how that would be done, fdisk or cfdisk or parted needs to be opened to set the boot flag on the Win7 boot partition.
I don't have an "install CD" (I don't remember that I ever got such a thing; definitely not with the last two laptops I bought).
WinV & Win7 have tools to create one built into the OS that the (cheap @#$#$@#) system vendors expect you do do yourself instead of spending the $0.50USD to provide one with the machine. Of course, it doesn't do you any good after you've messed up the system or the HD has died.
If you can get your hands on a WinXP installation CD, boot its recovery console and do fixmbr to install generice MBR code: http://support.microsoft.com/kb/314058
Or any Vista or Win7 installation DVD: http://support.microsoft.com/kb/927392
I have Windows 7 on my other laptop, but the opinions in the Internet on whether that can be used or not diverge. But I could create an installation DVD with that, and try what happens.
FWIW, if that laptop was here, here's how I would fix it:
1-boot from DFSee CD or USB stick (which will autorun DFSDOS.EXE)
The BIOS boot menu does only mention hard disk and CD/DVD.
2-F10 (exits DFSee menu system) 3-observe on screen the existing partitioning, to determine where the boot flag needs to go (probably the first partition) 4-startable 1 (set boot flag on partition 1, unset any other boot flags) 5-newmbr 1 (install generic MBR code on first HD) 6-F3 (quit program) 7-reboot into Win7
DFSee is a non-free, cross-platform (executables native to Mac, Linux, DOS, Windows & OS/2) partitioner and more that can be test driven for up to 30 days without purchasing a license. You could boot a Knoppix or other live CD or DVD, download and extract and run the Linux version.
I have now basically given up on dual-boot, and the task would now be just to completely erase the harddisk, and just to install Suse on it. But since the Suse installation doesn't allow changing partitions, it seems not so easy to achieve. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2011/07/06 13:25 (GMT+0100) Oliver Kullmann composed:
On Wed, Jul 06, 2011 at 07:48:50AM -0400, Felix Miata wrote:
That means the tool from the list at http://www.ultimatebootcd.com/. "Boot management" seems a reasonable headline.
At http://www.winimage.com/bootpart.htm it doesn't mention Windows 7, and thus I guess it won't help?
That tool is for manipulating data on a Windows partition, which is not your current problem.
It says, "repair the Windows NT loader boot sector". Anyway, it was just a question.
Anyway, I burned it to DVD, but the laptop can not boot it:
"No bootable device --- insert boot disk and press any key"
OK, so you've proven you can burn an irrelevant iso that won't boot.
Why is ubcd503.iso irrelevant?
I took the "it" in "I burned it to DVD" to mean an iso from the immediately preceding URL you wrote. UBCD images don't burn to DVD.
Now burn one capable of booting and MBR manipulation. Everything that needs doing now goes into the first disk sector, not into any partitions, something doable by any of my upthread suggestions as well as the Ultimate Boot CD.
As I said, that "Ultimate Boot CD" does not boot. In the FAQ one finds some suggestions about perhaps not using RW-DVD. But I'm far outside of the city here, and have only DVDs.
Around here, even convenience stores have blank CDs. :-p
I have Windows 7 on my other laptop, but the opinions in the Internet on whether that can be used or not diverge. But I could create an installation DVD with that, and try what happens.
For rescue purposes I think any M$ installation media should suffice to fix the MBR, but since elsewhere it seems that EFI is the problem, you'd need a Vista or Win7 DVD, as WinXP doesn't know about EFI.
I have now basically given up on dual-boot, and the task would now be just to completely erase the harddisk, and just to install Suse on it. But since the Suse installation doesn't allow changing partitions, it seems not so easy to achieve.
I'm not sure a Vista or Win7 install media's rescue mode couldn't get you Windows 7 back if you wanted. Then you could use Win7 to create empty partitions for openSUSE's installer to use by simply formatting and mounting them instead of creating them too. openSUSE's Grub can be chainloaded to from the Win7 boot manager. ISTR openSUSE's installer is supposed to be competent to install and modify in an EFI context, but maybe you hit a bug or just answered a checkbox wrong to end up where you did. -- "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 For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-07-06 09:22, Oliver Kullmann wrote:
I don't have an "install CD" (I don't remember that I ever got such a thing; definitely not with the last two laptops I bought).
You are supposed to create it yourself, from the HP tools in windows, first thing when you buy the laptop. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk4Ub30ACgkQtTMYHG2NR9WKWgCeMxWMBglbBMXhfkI1HpJyAC/n A0IAn240znkM8HJXSGFo4KJ21I1FpctQ =LCEl -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Mittwoch, 6. Juli 2011, 16:21:49 schrieb Carlos E. R.:
On 2011-07-06 09:22, Oliver Kullmann wrote:
I don't have an "install CD" (I don't remember that I ever got such a thing; definitely not with the last two laptops I bought).
You are supposed to create it yourself, from the HP tools in windows, first thing when you buy the laptop.
That's right and if the manufacturer does not ship tools to create one it has to be created with the native windows tools http://windows.microsoft.com/en-US/windows7/Create-a-system-repair-disc (which is then really just a repair disk). In the worst case, if the system is unusable and no recovery or repair disk was created a repair disk can be made on another machine with the same architecture and windows version (it is legal to do so). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-07-06 16:40, Martin Helm wrote:
Am Mittwoch, 6. Juli 2011, 16:21:49 schrieb Carlos E. R.:
On 2011-07-06 09:22, Oliver Kullmann wrote:
I don't have an "install CD" (I don't remember that I ever got such a thing; definitely not with the last two laptops I bought).
You are supposed to create it yourself, from the HP tools in windows, first thing when you buy the laptop.
That's right and if the manufacturer does not ship tools to create one it has to be created with the native windows tools
However, the manufacturer should clearly put a paper with instructions. I'd bet there are many users caught this way. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk4V6NMACgkQtTMYHG2NR9WSSACeNAxrhE87WDEZt7gcB3echldB IgQAnRU8Wh1UeQPiwnkhhw7ySldihCqW =U5zh -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday, July 07, 2011 12:11:47 PM Carlos E. R. wrote:
However, the manufacturer should clearly put a paper with instructions. I'd bet there are many users caught this way.
Finding options is just matter of being curios and research options in menus. In a last laptop I had in my hands they weren't hidden. It was one of the first items in the list of tasks that new computer user can do. Percent of Windows users that will think about need for restore media is very low, and curiosity is limited to online stuff, or to the particular application they use. How system works they don't want to know. That is my experience with almost all that I helped out. -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (8)
-
Anton Aylward
-
Carlos E. R.
-
Dave Howorth
-
Felix Miata
-
Martin Helm
-
Oliver Kullmann
-
Rajko M.
-
Sven Burmeister