Today on a window pc I installed opensuse on a usb device by the dvd installation.
After that, if I run the computer I can see the grub2 that asks if I want to run opensuse, the one on usb, or windows7 on the hard disk.
Both the entries work.
Now I would turn on that computer using it only with windows and without the usb key inserted.
Grub2 says ‘no such device’ before it shows the menu, and the device is the usb key that I don’t want to insert anymore.
How can I remove the ‘usb key’ entry and make the computer start always with windows?
Well, that’s a problem. During install you do see options about where the bootloader should be installed. And, as you experience now, it has been installed on the internal disk. Since the bootloader files (config etc) are on the USB device, the machine now needs the USB device to boot Windows. And there is no other way to fix this than with Windows means. Contact the sysadmins at work, they’ll be able to fix this.
Am 01.10.2012 21:26, schrieb darkadlove:
> When I installed opensuse I chose the usb disk as destination but I
> didn’t receive any question about the grub2 installation.
>
You did, but you probably did not see it as a question.
Before the actual installation step starts after you made your choices
in the installer a summary screen is shown which tells you where the
boot loader is installed and where you can change it.
You could download supergrub disk and use that to change it, it can
repair the windows boot loader, but I never tried it myself to do it
with that.
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.1 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
I could do this:
su
grub2-install /dev/sdb it is where is my usb key.
Another solution would be modify the grub2 configuration to start automatically and not showing the menu and not asking for the usb key partition, but don’t know how to do this
Martin, wouldn’t OP need admin rights to the machine, to perform the rescue? That’s the problem, something went wrong with an office PC, and the user does not have the admin password.
IMHO, since this is a work situation, I’d contact the sysadmins and be honest about what I’d done. A debate could be held whether one should perform experiments like this on an office PC, that’s not one’s own.
Am 01.10.2012 22:26, schrieb Knurpht:
> Martin, wouldn’t OP need admin rights to the machine, to perform the
> rescue? That’s the problem, something went wrong with an office PC,
> and the user does not have the admin password.
In principle you can reset this as simple as on a Linux machine where
you have physical access, but that’s of course an even worse
manipulation of an office machine without the right to do so.
Yes you need the admin password for the MBR reset (if that has not
changed in Win7).
>
> IMHO, since this is a work situation, I’d contact the sysadmins and
> be honest about what I’d done. A debate could be held whether one
> should perform experiments like this on an office PC, that’s not
> one’s own.
>
Yes absolutely, that is by far the best solution. Have not thought early
enough about the “I cannot do this. It’s not my company.”
@darkadlove: Why on earth did you do that with this machine? You should
do such things asking before for permission.
I run myself openSUSE (+ Scientific Linux) on a company laptop, but I
have the explicit permission to use on it whatever operating system I
like and run on it whatever I want (as long as I do not introduce a
breach when it comes to confidential data).
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.2 x86_64 | i3@2.30GHz | 8GB | KDE 4.9.1 | HD 3000
eCAFE 800: oS 12.2 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
Wait a minute! By default, openSUSE does NOT install Grub into MBR. If it found an extended partition on the hard disk, it probably installed the Grub boot loader there and set this partition active. If so, all you have to do is to boot (any) Linux live system and set the boot flag back on the Windows partition. And even if you installed Grub in MBR, this can be fixed without Windows help by writing a generic boot code from openSUSE. It won’t be Windows generic boot code, but good enough to boot Windows.
On 2012-10-01 21:36, gogalthorp wrote:
>
> Well looks like you installed Grub into the MBR of the hard drive. So
> you need to repair the MBR with a Windows disk.
Go to Yast, bootloader selection, choose “write generic mbr”.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
On 2012-10-01 23:33, Carlos E. R. wrote:
> On 2012-10-01 21:36, gogalthorp wrote:
>>
>> Well looks like you installed Grub into the MBR of the hard drive. So
>> you need to repair the MBR with a Windows disk.
>
> Go to Yast, bootloader selection, choose “write generic mbr”.
Or copy the sector from another computer using dd.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)