Re: [SLUG] Install Win7 on Ubuntu system

From: draeath (draeath@gmail.com)
Date: Wed Dec 02 2009 - 01:05:34 EST


I use lilo.

Just an alert - when I put windows 7 on, even though I used the same
scheme that worked for 98, 2000, XP etc, did NOT work for 7.

My setup:

hda1 - windows. 100gb
hda2 - linux boot, 100mb
hda5 - linux swap, 2gb
hda6 - linux rest

Windows 7 complained about missing files (and was unable to boot) when
lilo was installed to hda and I tried to chainload to hda1.

The workaround for me? Install lilo to hda2, let windows take over
hda, and I used the windows vista tool "bcdedit" to configure an entry
to chainload up to hda2. Yes, though meant for Vista, 7 uses the same
"BCD" system and the same tools seem to work for configuring it. Note
that Vista/7 do not use boot.ini like previous versions did.

This works, but I would prefer the Windows bootloader to be secondary...

On Tue, Dec 1, 2009 at 10:35 PM, Eben King <eben01@verizon.net> wrote:
> On Tue, 1 Dec 2009, Bob Stia wrote:
>
>> On Tuesday 01 December 2009 19:00:26 Chuck Hast wrote:
>>>
>>> On Tue, Dec 1, 2009 at 18:55, Eben King <eben01@verizon.net> wrote:
>>>>
>>>> On Tue, 1 Dec 2009, Chuck Hast wrote:
>>>>>
>>>>> On Tue, Dec 1, 2009 at 18:17, Eben King <eben01@verizon.net> wrote:
>>>>>>
>>>>>> On Tue, 1 Dec 2009, Chuck Hast wrote:
>>>>
>>>>> That should work I guess I will use my Ubuntu on a stick and recover
>>>>> the
>>>>> MBR and set it up to aim where it does now.
>>>>>
>>>>> sda1 = 9G boot for Unbuntu 9.10
>>>>> sda2 = extended
>>>>> sda5 = swap
>>>>> sda6 = 86.6G Holds Ubuntu home/user_directories
>>>>> sda7 = 83.2G  Want to install Win7 here
>>>>>
>>>>> I want to put the FS on sda7, the last one on the list.
>>>>
>>>> Check the size of sda7, and make sure the partition it installs onto is
>>>> 83.2 GB or whatever it reports in bytes.  The numbering might be
>>>> different, and it'd really suck to stomp on the wrong partition.
>>>
>>> Yes, I am going to use a stick with partition magic on it and resize it
>>> and
>>> format it to ntfs. That will take care of that...
>>
>> Not so sure you will be able to install windows to that partition. windows
>> wants to be on the very first partition, There is a way to fool it into
>> thinking it is installing there but I don't know what it is.  (format it
>> and
>> rename it C: ?) I would google it before I tried. And, rest assured
>> Windows
>> WILL wipe your mbr.
>
> Sure about that?  MeatRAM says I installed NT on partition #2.  I'll buy
> that it has to be a _primary_ partition though.  Either way, sda7 won't
> work.  BICBW about the #2 thing
>
> (g)parted can move and resize partitions losslessly.  Since there's nothing
> in sda7, there's no need to move it (that'd involve dozens of minutes of
> pointless reads and writes), just delete and recreate.  You do need to scoot
> 2-6 over to make room, though.
>
> Or you can use tar/cpio to copy everything in sda6 to sda7, delete the 5, 6,
> 7, and 2, create a new regular partition 2 (where W* will go) _exactly_ the
> size 6 was, an extended partition 3 covering from the end of 2 to the end of
> the disk, 5 _exactly_ the size it was, then 6 _exactly_ the same size 7 was,
> and the filesystem on 6 should be as 7 was before you started all this
> faffing about with fdisk.  mkswap, fix fstab and grub, and Bob's your uncle.
> But that's really hairy and I would not recommend it to anyone.  You can
> make it a lot less hairy if you have a few dozen GB of free space on another
> drive.
>
> --
> -eben      QebWenE01R@vTerYizUonI.nOetP      http://royalty.mine.nu:81
> AQUARIUS:  There's travel in your future when your tongue freezes to the
> back of a speeding bus.  Fill the void in your pathetic life by playing
> Whack-a-Mole 17 hours a day.  -- Weird Al, _Your Horoscope for Today_
>

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 14:13:31 EDT