LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2012, 08:09 PM   #1
JohnLocke
Member
 
Registered: Jun 2004
Location: Denver, Colorado
Distribution: Ubuntu
Posts: 240

Rep: Reputation: 31
Burg triple boot can't find second windows install?


So I had my PC set up as a dual boot linux (Ubuntu 11.10) / Win 7 box. I was using burg as the bootloader. Everything was happy.

Then I needed another partition of Win 7 for a customer (I keep some spare space for things like this). I had the following set up:
sda1 - Windows 7
sda2 - Ubuntu 11.10
sda3 - swap
sda4 - Extended Partition
sda5 - ntfs data drive
unallocated space

So I expanded the logical partition to include the unallocated space. No problem. I created sda6 in the new space (using gparted), still no problem. I installed windows 7 there and all was happy, except, as expected, windows replaced the bootloader and only elected to see the two windows partitions.

Fine. I booted up a liveCD and reinstalled burg (update-burg, burg-install). However, it didn't detect the new windows 7 partition (sda6).

I thought maybe I needed to mount the partition, so (rather than wait for the livecd), I rebooted into the physical ubuntu install (sda2) and tried again, this time with sda6 mounted to /mnt. Still no dice.

Not sure what I'm missing, but burg / grub never discovers sda6. I'm sure I can get back into it with a recovery of windows, but then I'm back in the same state where I can't get to linux.

Code:
> fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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
Disk identifier: 0x000af60e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   307202047   153600000    7  HPFS/NTFS/exFAT
/dev/sda2       307202048   614402047   153600000   83  Linux
/dev/sda3       614402048   630786047     8192000   82  Linux swap / Solaris
/dev/sda4       630788094  1953523711   661367809    5  Extended
/dev/sda5       630788096  1654786047   511998976    7  HPFS/NTFS/exFAT
/dev/sda6      1654788096  1953523711   149367808    7  HPFS/NTFS/exFAT
Code:
> update-burg
Generating burg.cfg ...
Found linux image: /boot/vmlinuz-3.0.0-14-generic
Found initrd image: /boot/initrd.img-3.0.0-14-generic
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found Windows 7 (loader) on /dev/sda1
(the second linux image is just an older kernel I haven't cleaned up yet)

Would appreciate any ideas!
 
Old 05-29-2012, 09:41 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Nothing to do with burg (which I haven't tried).
The os-prober only looks for boot code - Windoze always installs its boot code to a primary partition. Regardless of where the rest of the code goes.
 
Old 05-29-2012, 10:57 PM   #3
JohnLocke
Member
 
Registered: Jun 2004
Location: Denver, Colorado
Distribution: Ubuntu
Posts: 240

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by syg00 View Post
Nothing to do with burg (which I haven't tried).
The os-prober only looks for boot code - Windoze always installs its boot code to a primary partition. Regardless of where the rest of the code goes.
Fair enough. So I'm semi-hosed? I'd have to blow away the linux distro and install windows (the second) to a primary partition like sda2. Then I could reinstall linux to the extended partition? Then grub would be able to find it?

Maybe it's best at this point to get a second hard drive . Then I'd have some spare primary partitions.
 
Old 05-29-2012, 11:18 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Actually I think you might be fully hosed.
I don't think M$oft will allow you to install 2 version of Windows. Certainly not like you want.
A "dual-boot" (as Redmont defined it) was only allowed between two different Windoze versions. Two only note - not that that affects you directly in this case. And the more recent one had awareness of the previous versions, and would replace that bootloader with its own, and set-up a boot menu with two options.
So you might wind up with a Vista (primary) partition that actually contained Win7 boot code that pointed to the Win7 partition to handle the actual boot. You couldn't do it in the reverse order.
I suspect you will only ever be able to boot one of those Win7 partitions - even from a M$oft loader.

But I haven't tried. My interest in Windoze has diminished remarkedly, and Win8 might just convince me to give it away all together.
 
Old 05-30-2012, 02:53 AM   #5
JohnLocke
Member
 
Registered: Jun 2004
Location: Denver, Colorado
Distribution: Ubuntu
Posts: 240

Original Poster
Rep: Reputation: 31
Well, quick update. Seems I should have "just tried it".

I did a bit more investigating about how the windows boot loader works, and, turns out, windows is perfectly happy chainloading to its own boot loader, which can see both versions of windows.

So "it just works". It's not all three OS's managed by burg, but burg can ask whether I want Linux or Windows, and if I choose Windows, I can then select (from the windows boot loader) which version I want.

Not optimal, but it works for this (hopefully temporary) configuration.
 
Old 05-30-2012, 03:04 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Yeah that is always how it has to be done - the M$oft loaders aren't multiboot compliant.

Good luck to you - like I said, I'm surprised you can get both Win7's, but if it works ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Managing BURG with BURG-Manager LXer Syndicated Linux News 0 11-10-2011 04:40 AM
LXer: How to install Burg boot loader in Ubuntu 11.04 Natty Narwhal LXer Syndicated Linux News 0 05-02-2011 07:01 PM
[SOLVED] Triple boot: Windows 7, Windows XP, Red Hat Linux 5.3 Yaha Linux - Newbie 13 04-30-2011 08:14 AM
LXer: Burg-manager- Install and configure Burg the easy way LXer Syndicated Linux News 0 07-15-2010 10:10 AM
Upgrade from 10 -> 11 -> 12, What issues will I find on a triple boot laptop? BobNutfield Fedora 3 11-30-2009 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration