LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-24-2014, 11:57 PM   #1
Don Graham
Member
 
Registered: Apr 2014
Location: Bangsaen Beach, Thailand
Distribution: Ubuntu 15.04 & Mint 17.1
Posts: 124

Rep: Reputation: Disabled
Formating a HD WITH DUAL-BOOT INSTALLED


HERE IS THE QUESTION AND why?

Object is to install Windows 7 were Zorin 8 lite lives now. Yes, I want Zorin evicted. LOL! for now. I have spent the last two days trying to keep Vbox working. Which did not happen. I tried to install VMware three different times. That did not happen ether. Now I have a new idea. What if I boot into a live USB (Ubuntu 14.04) and use Gparted from there to format the Zorin partition?
 
Old 05-25-2014, 12:10 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Why not just use wins 7 to just use the whole disk?
If not yes just use ubuntu to remove the zorin partitions.
Keep in mind that if wins is dual booted you will have to have a boot disk of wins 7 to repair boot loader, which you can get at digital river
http://www.heidoc.net/joomla/technol...download-links
 
Old 05-25-2014, 12:29 AM   #3
Don Graham
Member
 
Registered: Apr 2014
Location: Bangsaen Beach, Thailand
Distribution: Ubuntu 15.04 & Mint 17.1
Posts: 124

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
Why not just use wins 7 to just use the whole disk?
If not yes just use ubuntu to remove the zorin partitions.
Keep in mind that if wins is dual booted you will have to have a boot disk of wins 7 to repair boot loader, which you can get at digital river
http://www.heidoc.net/joomla/technol...download-links
I am not sure what this sentence means?

"Why not just use wins 7 to just use the whole disk"

If it means to boot to the windows cd live. I tried that. No matter what I try the current operating Systems will not allow it. I am working from an HP Pavilion 2014 model. It came with Ubuntu 12.04 pre-installed. I added Zorin lite.For some reason I thought that if I started my machine it would automatically start the windows disk? Not so, Even changing the boot order in the BIOS did nothing. It is as if the disk is not seen. I had no problem installing it to Vbox. So I guess my optical reader works.
 
Old 05-25-2014, 01:01 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Wins 7 probably can't read ext4 fs so, are you trying to install windows only on machine or dual-boot?
If dual-boot wins 7 may be able to see unallocated space.
If only wins 7 then use gparted to reformat disk, selecting msdos.
 
Old 05-25-2014, 01:05 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
"Why not just use wins 7 to just use the whole disk"
I meant the win7 dvd. By the way,is zorin the only OS?
If not the dvd's that I linked you to won't work to reinstall, they will only repair boot & allow access to command prompt.
To do repai install you have to have a wins 7 key for the machine to do repair install, which will backup your data within a wins.old file.
 
Old 05-25-2014, 02:41 AM   #6
Don Graham
Member
 
Registered: Apr 2014
Location: Bangsaen Beach, Thailand
Distribution: Ubuntu 15.04 & Mint 17.1
Posts: 124

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
I meant the win7 dvd. By the way,is zorin the only OS?
If not the dvd's that I linked you to won't work to reinstall, they will only repair boot & allow access to command prompt.
To do repai install you have to have a wins 7 key for the machine to do repair install, which will backup your data within a wins.old file.
Eddy, if you glance to left, under my name is what OS's i am using at this moment. Because I have two Linux distros installed on my HP desktop is seems daunting to replace one without screwing up the other. What is Windows 7 key?
 
Old 05-25-2014, 05:55 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by Don Graham View Post
Eddy, if you glance to left, under my name is what OS's i am using at this moment. Because I have two Linux distros installed on my HP desktop is seems daunting to replace one without screwing up the other.
Which Os is grub installed to?
If not sure,
boot to ubuntu
Open terminal & install grub to it.
Assuming that you have only 1 drive, issue command:
Code:
sudo grub-install /dev/sda
then to find out what partitions you need to keep
Code:
cat /etc/fstab
The rest of the partitions which are not listed you can remove.
Keep in mind that any partition higher than /dev/sda5
may cause you to have to edit fstab if removed.
As long as the zorin partitions are higher than ubuntu's devices you won't have any problems.
Let's say ubuntu is on sda1 sda5,6,7, & zorin on sda8 & 9 you won't have a problem but if it's the opposite way around zorin on sda5, 6 & 7, ubuntu on 8 & 9, if you remove sda5, 6 & 7, the sda8 & 9, become sda5 & sda6. Also I think ubuntu has gparted & if you're booted to ubuntu while using it there will keys on the left side of each 1 of the mounted partitions. Which would leave you the zorin partitions with no keys next to them. Unless you mounted them.
Then you would have to edit your fstab to reflect that change.
Quote:
What is Windows 7 key?
Product key is so that you can activate windows.

Last edited by EDDY1; 05-25-2014 at 06:15 AM.
 
Old 05-25-2014, 09:18 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Quote:
If it means to boot to the windows cd live. I tried that. No matter what I try the current operating Systems will not allow it.
If you have your windows 7 installation medium in the drive and the correct boot priority, I would expect it to boot. It has nothing to do with the other operating systems 'allowing' it as they are not in the process at this point. I've never installed windows 7 so I can't speak to what EDDY1 said above about needing unallocated space. If that is true, bizarre as it seems to me, then his suggestion to create unallocated space should do the job.

If you know which partition Ubuntu is on, you can delete the others. If you don't know, boot Ubuntu and run: df -h and under the 'Mounted on' column you will see the root symbol (/) and on the left the partition. If you know what is on the different partitions, then you should be set after creating space. Just so you are aware, keep your Ubuntu installation medium handy as windows will overwrite the mbr and you won't be able to boot Ubuntu until you re-install Grub.
 
Old 05-25-2014, 09:19 AM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,027

Rep: Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623
The current OS has no effect at all on whether your computer will boot from a CD/DVD. If you are completely sure that you have set the BIOS to boot from the CD/DVD drive first (it may be listed as CD, DVD, "optical drive" or even "removable media" so try anything like that) then it sounds like your machine has a problem booting from that optical disk for some reason. If you can ask the company you bought the computer from for support it might be worth doing that, or check with the company you bought the Windows disk from.
Another option would be to try making a bootable USB stick with a Windows 7 install image on it but I have no idea where to start on that one -- a google search ought to point you to some resources though.

Last edited by 273; 05-25-2014 at 09:20 AM.
 
Old 05-25-2014, 11:40 PM   #10
Don Graham
Member
 
Registered: Apr 2014
Location: Bangsaen Beach, Thailand
Distribution: Ubuntu 15.04 & Mint 17.1
Posts: 124

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
If you have your windows 7 installation medium in the drive and the correct boot priority, I would expect it to boot. It has nothing to do with the other operating systems 'allowing' it as they are not in the process at this point. I've never installed windows 7 so I can't speak to what EDDY1 said above about needing unallocated space. If that is true, bizarre as it seems to me, then his suggestion to create unallocated space should do the job.

If you know which partition Ubuntu is on, you can delete the others. If you don't know, boot Ubuntu and run: df -h and under the 'Mounted on' column you will see the root symbol (/) and on the left the partition. If you know what is on the different partitions, then you should be set after creating space. Just so you are aware, keep your Ubuntu installation medium handy as windows will overwrite the mbr and you won't be able to boot Ubuntu until you re-install Grub.
That is all very good information, thank you.

BUT! Here is some general information. And then some questions.

I am using a 2014 HP Pavilion 110-210qe (http://www.shopping.hp.com/en_US/hom...D0&PageSize=15)

This is my 4th HP computer over a 10 year time frame. They have never/never changed the F9 menu over that time. Why? The only thing on that menu that comes close to what I need is bla,bla,bla DVD/CD. Which means nothing. When I move the arrow to that line and hit enter. All I get is black screen. I re-boot, and it starts Ubuntu and not the iso cd. The same hold true for all other option on the F9 menu. The BOIS menu is realty dumb. All that is listed there, are days of the week, and enable/disable. I am ready to pull my hair out. Check this out! I download Darik's Boot and Nuke and burned it to a DVD. Twice, different distro's. Nether would boot. I just don't get it. HELP!!!!!!!!!!!!!!!!!!!

P.S. Ubuntu see the DVD in the slot. I am asked what I want to do with it? There is no option listed to erase all the OS's on this machine. nor is there anything to do with boot order etc....
 
Old 05-26-2014, 12:41 AM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
When you boot the HP, you should see the HP screen and at the bottom it will tell you which key to press to enter 'setup'. On my HP, it is the F10 key. Watch the screen to see if that is it for yours or some other key. When you enter setup, you should see several tabs at the top of the screen and one should be boot. Use the keyboard arrow keys to highlight, hit Enter and you should get a new window with various options. One of the options should be something like 'set boot priority'.


If you want to delete the Zorin partitions from Ubuntu, the first step is to make sure you get the correct partition(s). Open a terminal and type 'gparted' without the quotes. You will probably be told what command to use to install it as it is not installed aon a default installation but is on the DVD which you can't boot.
 
Old 05-26-2014, 04:07 AM   #12
Don Graham
Member
 
Registered: Apr 2014
Location: Bangsaen Beach, Thailand
Distribution: Ubuntu 15.04 & Mint 17.1
Posts: 124

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
When you boot the HP, you should see the HP screen and at the bottom it will tell you which key to press to enter 'setup'. On my HP, it is the F10 key. Watch the screen to see if that is it for yours or some other key. When you enter setup, you should see several tabs at the top of the screen and one should be boot. Use the keyboard arrow keys to highlight, hit Enter and you should get a new window with various options. One of the options should be something like 'set boot priority'.


If you want to delete the Zorin partitions from Ubuntu, the first step is to make sure you get the correct partition(s). Open a terminal and type 'gparted' without the quotes. You will probably be told what command to use to install it as it is not installed aon a default installation but is on the DVD which you can't boot.
Well I did as instructed. The F10 screen is gray and has 5 tabs on top. They are as follows right to left: File,Storage,Security,Power,Advanced As you can see there is no boot tab. There is no place to set boot order, much less, anything else. When I try to boot into my Dban iso eraser all I get is black screen.
 
Old 05-26-2014, 09:06 AM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
So you have checked all the options under the five headings you mention and don't see anything regarding boot priority? That would be pretty odd. The link you posted indicates it comes with windows 8.1, is that correct? If you just bought it, have you checked the manual that came with the computer? You might be able to find a manual online.
 
Old 05-26-2014, 09:36 AM   #14
Don Graham
Member
 
Registered: Apr 2014
Location: Bangsaen Beach, Thailand
Distribution: Ubuntu 15.04 & Mint 17.1
Posts: 124

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
So you have checked all the options under the five headings you mention and don't see anything regarding boot priority? That would be pretty odd. The link you posted indicates it comes with windows 8.1, is that correct? If you just bought it, have you checked the manual that came with the computer? You might be able to find a manual online.
May be because this computer was made and sold in Thailand. As for a manual, there was none. I may have to have HP send me one. It just came with a pan-flit showing how to set up the computer for the first start up. This computer came with Ubuntu 12.04 installed. I could not find anything in the F10 menu that had anything to do with boot order. I have been able to boot to my live USB stick with Ubuntu 14.04 on it. That info my not be of any help, as the Windows 7 OS is on a Microsoft cd. I also have a Zorin 8 Ult on cd that I bought and would like to install.
 
Old 05-26-2014, 09:41 AM   #15
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,027

Rep: Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623
I think the boot order will most likely be in the "Advanced" settings if the computers I've used are anything to go by. It might be buried a couple of menus deep so have a good look around.
 
  


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
Using qemu to boot a full hardware installed Windows partion on dual boot system dwmolyneux Linux - General 8 05-13-2012 01:11 PM
Installed Fedora as dual boot but Grub boot menu is not showing up nilocjin Linux - Newbie 4 06-03-2009 03:09 PM
installed 12.1 without formating the old /home http:// Slackware 12 05-19-2008 07:53 PM
Installed dual boot Winxp and Kubutu with boot on floppy, help. mman49 Ubuntu 2 03-27-2006 07:15 PM
i installed linux first.. how to install windows without re-formating ? qwijibow Linux - General 6 02-20-2005 05:53 PM


All times are GMT -5. The time now is 07:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration