Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Clean install over dual boot XP's with Ubuntu

06 Jul 2011   #31
Coastalguy

XP Home 32bit, XP Home(2) 32bit, Ubuntu Meerkat 32bit
 
 
Grub

oboedad55,

Sorry to be thick, but I am somewhat lacking on this, but willing to learn. You advised that my Ubuntu "root" (sdb8) would be the partition to perform the mount on, but advised GRUB would be on sda, which would by my 1st (master) drive. Are you saying that GRUB is installed with or in the MBR, on the first drive, rather than the MBR just passing the boot to the GRUB which I thought was located in the Ubuntu partition?

I guess the reason I am confused is that your instructions first advise to run sudo fdisk -l to find the Ubuntu partition, but then with the assumption that it is on sda1, which would be the first drive. So do I mount it to the Ubuntu partition, or to sda, the first drive?


My System SpecsSystem Spec
.
06 Jul 2011   #32
oboedad55

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Coastalguy View Post
oboedad55,

Sorry to be thick, but I am somewhat lacking on this, but willing to learn. You advised that my Ubuntu "root" (sdb8) would be the partition to perform the mount on, but advised GRUB would be on sda, which would by my 1st (master) drive. Are you saying that GRUB is installed with or in the MBR, on the first drive, rather than the MBR just passing the boot to the GRUB which I thought was located in the Ubuntu partition?

I guess the reason I am confused is that your instructions first advise to run sudo fdisk -l to find the Ubuntu partition, but then with the assumption that it is on sda1, which would be the first drive. So do I mount it to the Ubuntu partition, or to sda, the first drive?
No problem, it's a little different than Windows. Have a look here; chroot - Wikipedia, the free encyclopedia

Linux can be on any partition on any drive. The boot loader normally goes on the MBR of the boot drive. So, your Ubuntu is on sdb8, and I'm assuming that sda is your boot drive, so that's where Grub goes. sda= drive 1, sdb=drive 2.
My System SpecsSystem Spec
06 Jul 2011   #33
Coastalguy

XP Home 32bit, XP Home(2) 32bit, Ubuntu Meerkat 32bit
 
 
Confirmation

I think I have it but just anxious and would like to confirm 2 commands shown after = signs.

sudo mount /dev/sdb8/mnt/ = Mounting the Root partition of my Ubuntu (sdb8)
(Found online that sdb9 (Home) should be mounted also - should I mount it too?) What about Swap sdb7?

sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc

chroot /mnt

grub-install /dev/sda = Is this installing grub to the beginning of drive 1 to the MBR (sda)?

sudo update-grub
My System SpecsSystem Spec
.

06 Jul 2011   #34
oboedad55

Windows 7 Ultimate x64
 
 

You don't have to mount swap, I've never mounted /home to reinstall grub. And yes, installing grub to /dev/sda will put it in the MBR of disk 1. Make sure you have the syntax right, the spaces are important. As I said earlier, the worst that can happen is you'll install grub to the wonrg partition, so you do it over again. It must be mentioned that nothing pays off like having your data backed up to an external drive, DVD, thumb drive, or whatever. Hopefully you won't learn the hard way like I did...
My System SpecsSystem Spec
07 Jul 2011   #35
Coastalguy

XP Home 32bit, XP Home(2) 32bit, Ubuntu Meerkat 32bit
 
 
Win7

From Windows, is there a way to confirm the MBR is on disk 1 (sda), or is it best to check from Ubuntu "sudo fdisk -l"? Also, as all of my data is on my working XP, and that it is all backed up to 3 locations, no problem on that. However on Ubuntu, I have a bunch of settings made that I would hate to do all over, such as auto mounting of my NTFS Windows partitions, getting my XAMPP working again, Email and tons of other things.

Lastly, I mentioned this initially, but on my 2nd drive, with Ubuntu, I have another version of XP installed that I will no longer need and would like to remove to provide that space for data. I am reading on Microsoft that you cannot uninstall Windows XP but only replace it with another version. The only thing I can see then, is when I install Win7 on my main drive, with my working XP, having disconnected my 2nd drive so that the alt. XP isn't included in the MBR, that after reconnecting the drive I can just reformat that partition? Does that sound ok?

Thanks again,
My System SpecsSystem Spec
Reply

 Clean install over dual boot XP's with Ubuntu




Thread Tools




Similar help and support threads
Thread Forum
Win 7 , Ubuntu dual boot, windows wont boot, startup disk doesnt help
Hi a couple of months ago my system crashed, windows 7 wouldnt boot, and I misplaced my installation disk. I had the problems several times since obtaining the computer several years ago. (Lenovo IDeaPad y450). I attributed the problem to what I believed was a bad hard disk, so I replaced it with a...
General Discussion
How do I reformat a dual boot drive in preparation for a clean install
I want to reformat my hard drive and do a clean installation of Windows 7 64 bit Pro. It currently has a dual boot setup with Windows XP/Ubuntu. I have two questions: I plan on installing this hard drive into a different computer. Do I do the reformat it while it is still installed in the old...
Hardware & Devices
Useless Directories in User Directory & Clean install dual boot Linux
Hallo, I’m going to make a clean install of windows 7 and therefor have some question … 1) As I want to make a dual boot install with a Linux distribution I thinking about the Partitioning. I want to make following Partitions: Windows System Windows User Data Linux System (maybe a...
Installation & Setup
Do a clean install of 7-Pro 32 upgrade to dual boot with XP?
I want to do a clean install of 7-Pro 32 upgrade into unpartitioned space on an XP machine, to dual-boot XP and W7. I've done that successfully on a notebook by booting off the upgrade DVD. Unfortunately on this desktop machine the BIOS will not recognize the boot block on the DVD. If I run W7...
Installation & Setup
Help required in Win7 - Ubuntu dual boot install
Hello All, I currently have Win 7 HP installed on my HP dv4 laptop with T6600 processor, 300GB HDD & 4GB RAM. My objective is to install ubuntu 9.10 with Windows 7 in the dual-boot mode. I searched previous posts regarding the same but could not quite find the exact...
Installation & Setup
dual boot w/ Ubuntu, need to uninstall Ubuntu
Hey all I am new here. I recently did a dual boot install of Ubuntu with my Home Premium Windows 7 machine. I need to figure out how to uninstall Ubuntu and the grub loader... any thoughts? I installed Windows 7 first... Ubuntu 64 desktop edition came after. I shrunk my Windows 7...
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:43.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App