Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Vista boot niet meer na installatie Ubuntu  (gelezen 10221 keer)

Prometheus

  • Gast
Vista boot niet meer na installatie Ubuntu
« Gepost op: 2007/04/16, 11:12:41 »
Ik heb een Acer Aspire 9410 waarop Windows Vista Ultimate geïnstalleerd is. De harddisk was gepartitioneerd, C partitie van 60 gb en D partitie van 50 gb. (Er is een rescue-partitie van 10 gb).

Bij de installatie heb ik de D partitie verkleind naar 20 gb, vervolgens een extended partitie aangemaakt met daarin een / (ext3) van 20 gb en een swap partitie van 2 gb.

Installatie van Ubuntu is goed gegaan, dat kan ik zonder problemen opstarten, als ik de PC aanzet krijg ik eerst een bootmenu waarin ik ook voor Windows Vista (Longhorn) kan kiezen. Als ik dat doe krijg ik het groene, lopende balkje met daaronder de (C) tekst van Microsoft, de gegevens op de partitie zijn kennelijk dus nog wel leesbaar.

Vervolgens hangt alles, Windows start niet verder meer op. Iemand enig idee wat ik hier aan kan veranderen, zodat ik EN Vista EN Ubuntu kan blijven gebruiken?

Furcatus

  • Gast
Vista boot niet meer na installatie Ubuntu
« Reactie #1 Gepost op: 2007/04/16, 11:43:12 »
Dit lijkt mij meer op een Windows probleem eerlijk gezegd.

Ubuntu start prima en Grub kan Windows starten, alleen windows laad niet door.
Misschien moet je eens proberen om Windows in veilige modus te starten, dan kijken of die nog wel werkt.

Prometheus

  • Gast
Vista boot niet meer na installatie Ubuntu
« Reactie #2 Gepost op: 2007/04/16, 12:17:22 »
Citaat van: Furcatus
Dit lijkt mij meer op een Windows probleem eerlijk gezegd.

Ubuntu start prima en Grub kan Windows starten, alleen windows laad niet door.
Misschien moet je eens proberen om Windows in veilige modus te starten, dan kijken of die nog wel werkt.
Ja, dat zou je natuurlijk zeggen. Het rare is alleen, vanochtend zette ik de laptop aan, start op in Windows, dat gaat allemaal goed. UbuntuCD erin waarna de autorun start, die ik overgens meteen heb weggeklikt, reboot, Ubuntu geïnstalleerd en daarna treedt het probleem op.
Het is dus wel gekomen ná de install van Ubuntu.

Veilige modus werkt ook niet, de PC blijft hangen na:

Loaded:  \Windows\system32\drivers\crcdisk.sys

vaag dus...

SandervdV

  • Gast
Vista boot niet meer na installatie Ubuntu
« Reactie #3 Gepost op: 2007/04/16, 12:29:09 »

Furcatus

  • Gast
Vista boot niet meer na installatie Ubuntu
« Reactie #4 Gepost op: 2007/04/16, 13:30:28 »
Het lijkt mij niet dat hier het probleem ligt.
Vista heeft immers goed gelopen tot voor de installatie van Ubuntu.

Vista boot niet meer na installatie Ubuntu
« Reactie #5 Gepost op: 2007/04/16, 14:46:05 »
Ben je zeker dat vista geen deel van de D schijf gebruikte? Mogelijks is die verknoeid na ze te laten verkleinen? Is de enige reden die ik kan bedenken.
www.sinax.be
Open Source Integrators, consulting and custom development

Prometheus

  • Gast
Vista boot niet meer na installatie Ubuntu
« Reactie #6 Gepost op: 2007/04/16, 15:23:09 »
Citaat van: Masuran
Ben je zeker dat vista geen deel van de D schijf gebruikte? Mogelijks is die verknoeid na ze te laten verkleinen? Is de enige reden die ik kan bedenken.
Zoals Furcatus al zegt, Vista heeft inderdaad TOT de installatie van Ubuntu goed gedraaid...

En over die D partitie, voor zover ik weet heeft Windows daar nooit gebruik van gemaakt. Het enige dat erop staat is een ghost image van de windows installatie.

Ik heb de partitie zelfs een keer bij de C partitie gevoegd en kon toen ook zonder problemen Windows weer opstarten...

Prometheus

  • Gast
Vista boot niet meer na installatie Ubuntu
« Reactie #7 Gepost op: 2007/04/17, 01:58:20 »
Nou... Na echt van alles te hebben geprobeerd (Nieuwe install Ubuntu, Ghost image terugzetten, Originele Acer recovery CD, Partities verwijderd en opnieuw aangemaakt, partities ge-resized, Hiren's BootCD gebruikt met verschillende utilities, Windows Anytime Upgrade DVD, originele Vista DVD (de laatste twee komen niet eens voorbij de installer, het scherm blijft dan zwart)), ben ik nu zo ver dat als ik de PC aanzet dat er een foutmelding komt: "A disk error has occured. Press CTRL+ALT+DELETE to reboot". Verder kan ik dus niets meer doen.

Heb dus maar Fedora Core 6.? gedownload en ben die nu aan het installeren. Hopelijk biedt dat een uitkomst... Ben d'r eigenlijk wel ziek van...

Offline woteb

  • Lid
Vista boot niet meer na installatie Ubuntu
« Reactie #8 Gepost op: 2007/04/17, 07:26:02 »
Lees dit eens:

http://desktoplinux.com/articles/AT2094892904.html

A Vista vs. Linux Matchup

Part 2: Dual-Booting Vista and Linux

by Steven J. Vaughan-Nichols


Last time around, I described the HP Pavilion Media Center TV m7360n that I'm using for my Vista vs. Linux shootout. Getting the PC was the easy part. Getting Linux and Vista to live together on the same machine turned out to be a bit harder.

On XP and earlier Windows PCs, making Windows and Linux live together was almost automatic. Any of the major distributions made it easy. With Vista, things have changed. Microsoft has deep-sixed its old boot.ini bootloader in favor of a new bootloader.

The new bootloader, BCD (Boot Configuration Data), is designed to be firmware-independent. It also comes with a new boot option editing tool, BCDEdit.exe, which isn't so much user-friendly as user-hostile. I'm not, by the way, talking here as someone whose chief concern is dual-booting Linux. BCDEdit is a pain to work with no matter how you're modifying Vista's boot behavior. Unfortunately, though, you're going to have to work with Vista bootloader, because Vista doesn't deal well with being installed on a system that already has an operating system on it that you mean to keep.

In my case, I had already decided to blow away my system's existing Windows XP Media Center Edition 2005, Update Rollup 2 operating system. I could have "upgraded" this system to Vista, but I really do want to give Vista its best chance to shine, and upgrading an existing Windows system appears to be an almost sure way to find trouble.

Unless you have a lot of time on your hands, you don't mind running into incompatibility problems, and you know exactly what you're doing, do not "upgrade" to Vista. Do a clean install, instead.

In the case of a dual-boot system, you're almost certainly going to need to do a clean install, anyway. You see, if you "upgrade" a system, you have to do it from within Windows XP or 2000. And, if you do that, you can't repartition or reformat any of the hard drive. The only way you can work on your drive fundamentals at the start of a Vista install is if you boot from the Vista DVD. So, unless you already have a big enough partition on your drive for another operating system, you're better off with a clean install.

With all that in mind, I did a clean install of Vista Ultimate on my system. I divided my system's 300GB SATA hard drive into two equal partitions. On the Vista side, I had the option of using BitLocker Drive Encryption, but I decided not to use it.

BitLocker actually makes a good deal of sense. In particular, if I was planning to lug around a Vista-only laptop, I'd like knowing that if anyone swiped it, they wouldn't be able to easily get at my data.

For me, though, that has two problems. The first is that it requires a TPM (Trusted Platform Module) 1.1 chip or a USB drive. While the HP doesn't have a TPM chip, it does have six USB 2.0 ports. But, if I use a USB drive to keep my BitLocker encryption key on, isn't it always going to be on my machine anyway? Now, this doesn't really matter with this hefty tower system, but if I were using a notebook, anyone who grabbed my laptop bag would also be likely to get my USB BitLocker key at the same time.

The real problem for dual-booting with BitLocker is that it blocks Linux from accessing any data in that partition. Security guru Bruce Schneier thinks "You could look at BitLocker as anti-Linux because it frustrates dual boot," but I don't think it does. Even with BitLocker installed, Vista still needs an unencrypted partition to boot from, so dual-booting should still work. It's just that getting at data on the BitLocker-protected NTFS partition will be close to impossible for Linux users.

One final thought on BitLocker before I go. Microsoft has only made it available on its Enterprise and Ultimate editions. Enterprise is only available to volume buyers, and Ultimate's the most expensive Vista of them all. I find it more than a little annoying that small business users will have to upgrade to Ultimate to get what I think of as one of Vista's best points for business users.

As for Linux and disk encryption, this functionality has been baked into Linux using the CryptoAPI since version 2.6.0 first appeared several years ago. For detailed instructions on how to use CryptoAPI, see, A Structured Approach to Hard Disk Encryption. If you don't want to get your hands dirty with this do-it-yourself approach, you can use a GUI-enabled open-source program, TrueCrypt to get the job done.

Now, I started to install Vista. One of Vista's better points is that it will alert you when it runs into hardware that it hasn't a clue on how to handle. On the down side, it will also, like all operating systems, run hardware that it thinks it knows how to run, but it doesn't really have a clue.

With the m7360n, I quickly found that neither Vista nor Ubuntu nor MEPIS could run all of the system's hardware. I found one component that Vista couldn't deal with at all, and several that required some work with MEPIS before I could get them operational.

I'm going to save those stories for the next installment where I talk about hardware compatibility, so I can continue talking about making Vista and Linux dual-bootable. Before I do this, though, let me make one thing clear. People are always talking about how Linux has problems with devices. And, that's true. Vista, however, at this point in its development anyway, also has a goodly number of hardware problems.

For the most part, both the Vista and MEPIS installations went without any problems. Both operating systems come on DVDs and once you boot the system up and start installing them, your "hardest" job will be setting the proper time.

In the case of Vista, though. I did have one of those "What the heck?" moments. If you look at the Windows setup screen you'll see that it lists both Home and Business as choices, but there's really no difference between them. Or, if there is, you sure can't tell it from this display. I do have to wonder for a moment, too, about anyone who's not sure if they're at home or in the office, but I'll let that pass.


One of those "What the heck?" moments.

Once both systems are on the machine, though, you're going to quickly find that you can only boot the system into Linux, thanks to the unfriendly Vista BCD.

There are several ways to get around this. For Ubuntu-based systems like MEPIS and Kubuntu, which use the GRUB bootloader, here's how you set it up.

First, you want to switch to root, aka super-user mode. MEPIS enables me to do this with the su command. Most of the Ubuntu family requires you to use the sudo command. For our purposes, changing the bootloader settings in Ubuntu with its sudo settings will work in exactly the same way.

Then, in most of Linuxes, you open up the file /boot/grub/menu.lst with your favorite text editor, not word-processor. In my case, that's vi in a terminal window.


Configuring GRUB to dual-boot Linux and Vista

Then, you enter the following lines at the bottom of the file...


      title            Vista
      rootnoverify     (hd0,1)
      savedefault
      makeactive
      chainloader      +1


...and then you save and close it.

In my case, Vista is on my first -- and only -- hard drive's second partition, so the root setting is "hd0,1". If it were on my second drive's first partition, it would be "hd1,0".

Now, when you boot your system up, the first thing you'll see is the MEPIS boot screen. If you want to go to Linux, you just leave it alone and off you go. If you want to boot Vista, simply select it, and that will put you into Vista's BCD menu and you'll be on your way to Vista.

If you want to get fancier, say run Vista, XP, Red Hat, Mac OS X, Ubuntu, Solaris, and -- oh, what the heck -- OS/2, on a system, you should get a high-end boot manager editor. At this time, the best I know of, which can also handle Vista's BCD, is EasyBCD 1.52, from NeoSmart Technologies. This is a Windows-only, freeware program.


At the end of this, as you can see, I had both Vista Ultimate and SimplyMEPIS 6.01 installed and running successfully on my PC. Well, mostly successfully. For what went right -- and wrong -- with the system's hardware with both operating systems, stay tuned for the next exciting chapter.

Oh, and yes, that is an Internet Explorer icon on the MEPIS window.
Laptop, HP 550, Dual Core 1 GB RAM/2 Ghz:: Debian 5.0 Testing (Squeeze)  (lite-blokkendoos editie) Fluxbox / IceWM / XFCE4 / Openbox / LXDE.
3 Werkstations + 1 laptop: Debian 5.0 Testing (Squeeze)  (lite-blokkendoos editie Gnome/XFCE/IceWM)
Server: Debian 5.0 Stable (Lenny)

Vista boot niet meer na installatie Ubuntu
« Reactie #9 Gepost op: 2007/04/17, 10:42:34 »
Er zijn ook mensen die vast liepen met een dualboot XP & Vista.
Dit komt omdat Vista om een heel andere manier boot.

Dus met vista kan je ook tegen dit probleem aanlopen wanneer je Ubuntu installeerd, en Grub met geen mogelijkheid zichzelf goed kan nestelen op je HD.

Een mogelijke oplossing is:

Citaat
Vista gebruikt geen boot.ini maar een eigen bootmanager genaamt bootmgr.
Het beste wat nu gedaan kan worden is het volgende :

Zoek naar het verborgen bestand "bootmgr" en hernoem dit naar "bootmgrOLD".
Vervolgens zoek je naar het verborgen systeembestand "NTLDR" en deze hernoem je naar "bootmgr".
Vista overschrijft de MBR (Master Boot Record) van XP, en eenmaal overschreven is deze NIET te repareren met de commando's fixboot of fixmbr.
Bij het opstarten van XP word er gezocht naar de NTLDR, welk op zijn beurt zoekt naar boot.ini
Bij het opstarten van Vista word niet gezocht naar NTLDR, maar naar bootmgr.
Daarom als je de klassieke NTLDR hernoemt naar bootmgr, kan je terug gebruik maken van de klassieke boot.ini

Verborgen systeembestanden kan je als volgt zichtbaar maken :

Start -> configuratiescherm -> mapopties -> weergave
dan het vinkje weghalen bij "beveiligde systeembesturingsbestanden verbergen"
onderaan dit lijstje plaats je een vinkje bij "verborgen bestanden en mappen weergeven" en je sluit af met OK te klikken.

Na het aanpassen deze terug verborgen zetten :

Start -> configuratiescherm -> mapopties -> weergave
dan het vinkje plaatsen bij "beveiligde systeembesturingsbestanden verbergen"
onderaan dit lijstje plaats je een vinkje bij "verborgen bestanden en mappen NIET weergeven" en je sluit af met OK te klikken.

PS: XP herinstalleren zonder de bestaande partities te verwijderen zal leiden na de eerste herstart met een foutmelding "missing bootmgr"

Om dus XP volledig schoon te installeren moeten alle aanwezige partities worden verwijderd, zodat je terug 1 ongepartioneerd (niet -toegewezen schijfruimte bekomt.
Vervolgens de nodige partitie(s) aanmaken en dan pas zal XP terug zoeken naar de echte NTLDR en niet naar NTLDR die hernoemt is naar bootmgr.
SCCS

:D
I don't suffer from insanity, I enjoy every minute of it.
Microsoft geeft je een raam, Linux geeft je een heel huis :D

Robert_B

  • Gast
Vista boot niet meer na installatie Ubuntu
« Reactie #10 Gepost op: 2007/04/27, 21:26:33 »
Citaat van: Prometheus
Het is dus wel gekomen ná de install van Ubuntu.

Veilige modus werkt ook niet, de PC blijft hangen na:

Loaded:  \Windows\system32\drivers\crcdisk.sys

vaag dus...
Ik ben zojuist tegen hetzelfde probleem aangelopen, Vista start niet meer op na installatie van Ubuntu 7.04 en Safe Mode blijft hangen op crcdisk.sys :(

Ubuntu werkt prima in de Live-CD modus, maar tijdens het installeren op de harde schijf gaat het gruwelijk mis. Dit was overigens in VMware dus Vista zou daar geen hinder van moeten ondervinden... behalve dat ik ervoor gekozen had om de VMware sessie onder de Local System account te laten draaien, zodat hij doorloopt ook als er niemand ingelogd is.

VMware geeft overigens een aantal keren tijdens de installatie van Ubuntu een door Windows gerapporteerde foutmelding Onvoldoende Resourses om de Service te voltooien. Na een paar keer op Retry klikken loopt de installatie dan wel door maar uiteindelijk hangt Vista zich compleet op!

Die foutmelding kwam overigens vermoedelijk doordat Write Caching op de harde schijf (SATA) aan stond, en ook schijnt het te helpen om DMA mode op de harde schijf (tijdelijk) uit te zetten (wordt alles wel wat trager maar okee...). Ook las ik iets over een error in DirectX of de grafische kaart. Nvidia kaarten hebben daar vaker last van blijkbaar, heeft op zich niks met Ubuntu te maken, ook sommige games veroorzaken deze onherstelbare fout/fatal error in de Desktop Window Manager/Beheer van bureaubladvensters (0x8876017c).

In ieder geval heb ik het opgelost door in het F8 boot-menu van Vista te kiezen voor Last Known Good Configuration. Is wel redelijk radicaal maar Vista werkt dan in ieder geval weer.

Gelukkig maar want ook al heb ik nog niet zo veel op die Vista PC staan (alleen Office 2003 en wat opgenomen TV programma's), in een herinstallatie heb ik niet echt zin (en een repair install is geen optie want het is een goedkope Aldi/Medion PC en die zet gewoon een Ghost image terug).

Maar goed, zelfs in VMware kan het dus helemaal mis gaan tussen Windows (in dit geval Vista) en Ubuntu. Vraag me niet waarom...

Prometheus

  • Gast
Vista boot niet meer na installatie Ubuntu
« Reactie #11 Gepost op: 2007/04/28, 14:39:35 »
Nou, ik heb allerlei dingen geprobeerd en vervolgens maar Fedora Core geïnstalleerd, toen bootte Windows wel weer, Fedora Core ook. Echter was ik niet tevreden met die linux distro dus heb ik Suse geïnstalleerd en alles werkt nu naar m'n zin.