PDA

View Full Version : [ubuntu] Help Dual-Booting



MasterTHC
September 4th, 2010, 02:37 AM
I have Ubuntu 10.04 LTS installed first then I the 10.04 Live CD to use GParted to resize the partiton so i install Win7 and make the free space into ntfs but each time i do this it just closes and restarts and runs Ubuntu disk checker and i keep coming back to the login screen


here some screenshots
http://i55.tinypic.com/2ufd8qt.png
http://i55.tinypic.com/nmi749.png

wilee-nilee
September 4th, 2010, 02:55 AM
You need to right click on the swap and turn it off.

You also have your extended around the swap and not Ubuntu, and the swap, not a big deal but usually the Ubuntu would be inside.

Also don't run both of those commands together shrink the partition then build the ntfs.

MasterTHC
September 4th, 2010, 03:04 AM
You need to right click on the swap and turn it off.

You also have your extended around the swap and not Ubuntu, and the swap, not a big deal but usually the Ubuntu would be inside.

Also don't run both of those commands together shrink the partition then build the ntfs.

I'm going to try this will post results

wilee-nilee
September 4th, 2010, 03:14 AM
I'm going to try this will post results

If all goes well and you get W7 installed you will need to reload the grub2 bootloader to the MBR, to have a choice of Ubuntu or W7.
https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD

MasterTHC
September 4th, 2010, 03:36 AM
If all goes well and you get W7 installed you will need to reload the grub2 bootloader to the MBR, to have a choice of Ubuntu or W7.
https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD

Unfortunately all didn't go well can you if me step by step instructions on how to make the partitons so that i have a good dual-boot because it keeps crashing and overheating when i turned off swap and resized the ubuntu. My Live CD is 10.04 LTS Desktop Edition

wilee-nilee
September 4th, 2010, 04:08 AM
So how attached are you to the Ubuntu install you have now. Generally people install W7 or any MS first then Ubuntu.

Looking at your gparted shots if the swap is off then the keys in the partition line should not be showing.
168424

MasterTHC
September 4th, 2010, 05:27 PM
So how attached are you to the Ubuntu install you have now. Generally people install W7 or any MS first then Ubuntu.

Looking at your gparted shots if the swap is off then the keys in the partition line should not be showing.
168424

Ok i turned swap off and did partitioned the thing and installed Win7 now i'm going to restore Gurb

wilee-nilee
September 4th, 2010, 08:35 PM
If you have any problems let us know.

MasterTHC
September 4th, 2010, 10:25 PM
If you have any problems let us know.

I have a problem with restoring GRUB i tried your link

https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD
I tried the first and second one but keeps booting into Ubuntu or it's goes into grub-rescue

dirghrabadia
September 4th, 2010, 10:35 PM
As wilee-nilee said, it generally preferred to install W7, restart, then boot using Gparted, make the desired space for Lucid (as W7 tends to occupy the entire hard drive), and then boot using Live CD and get started with Lucid installation.

wilee-nilee
September 4th, 2010, 10:47 PM
I have a problem with restoring GRUB i tried your link

https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD
I tried the first and second one but keeps booting into Ubuntu or it's goes into grub-rescue

First have you run in the installed Ubuntu terminal,

sudo update-grub
If this doesn't get it working correctly post the bootscript in my signature, in code tags this will give us much more information.

Trading bootloaders in the MBR is no big deal.

MasterTHC
September 4th, 2010, 10:52 PM
Well i have my home theatre on ubuntu so making win7 format everything is kinda pointless i'm going to try the copying grub form the live cd again

MasterTHC
September 4th, 2010, 10:54 PM
First have you run in the installed Ubuntu terminal,

sudo update-grubIf this doesn't get it working correctly post the bootscript in my signature, in code tags this will give us much more information.

Trading bootloaders in the MBR is no big deal.

it's asking for sudo password and my login pass doesn't work on it

wilee-nilee
September 4th, 2010, 11:11 PM
it's asking for sudo password and my login pass doesn't work on it

When, where, what is?

MasterTHC
September 4th, 2010, 11:26 PM
When, where, what is?
It's asking for sudo pass on the installed ubuntu
http://i51.tinypic.com/16bn15k.png

wilee-nilee
September 4th, 2010, 11:51 PM
That is a problem when did your password stop working? I assume you are aware that the password doesn't show in the terminal window when typed.

So you login; no auto-login, correct, and your password wont work in the terminal.

wilee-nilee
September 5th, 2010, 12:06 AM
So let me add this here is a link for troubleshooting the sudo problem.
http://www.psychocats.net/ubuntu/sudo
So you can view but not edit the files suggested in this first link in the terminal.

cat /etc/sudoers
And

cat /etc/group

From the same site how to change your password.
http://www.psychocats.net/ubuntu/resetpassword

You will notice that the actual editing is from using the recovery line in the grub boot prompt. When you turn the computer on if you press on the shift immediately and several times until grub shows you will see the recovery.

MasterTHC
September 5th, 2010, 01:40 AM
That is a problem when did your password stop working? I assume you are aware that the password doesn't show in the terminal window when typed.

So you login; no auto-login, correct, and your password wont work in the terminal.

I turn my laptop on i login manually and when i go to terminal I type

sudo update-grub
and it asks for sudo password but wherever i attempt to type something it says wrong pass

wilee-nilee
September 5th, 2010, 02:14 AM
I turn my laptop on i login manually and when i go to terminal I type

sudo update-grub
and it asks for sudo password but wherever i attempt to type something it says wrong pass

I am not real familiar with why this would happen, or what you have or haven't done that may be associated as far as user or group permissions. All I can do is say take a look at the links, worse case scenario since the partition has only 10 gigs you could do a reinstall.

MasterTHC
September 5th, 2010, 02:19 AM
I am not real familiar with why this would happen, or what you have or haven't done that may be associated as far as user or group permissions. All I can do is say take a look at the links, worse case scenario since the partition has only 10 gigs you could do a reinstall.

Since i have a windows cd also isn't it easier to install windows first then ubuntu if that's true how can i delete the ubuntu

wilee-nilee
September 5th, 2010, 02:39 AM
Since i have a windows cd also isn't it easier to install windows first then ubuntu if that's true how can i delete the ubuntu

This thread has accomplished little, I think maybe a little reading might help you to understand.
http://members.iinet.net.au/~herman546/index.html