LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-27-2011, 02:24 AM   #1
9sp7ky3
Member
 
Registered: Mar 2011
Posts: 105

Rep: Reputation: 0
can't access windows off of alleged dual boot ubuntu 10.10


i am dual booting ubuntu 10.10 and window 7. i was doing this a few months ago as well but had to wipe the hard drive for unrelated reasons. every time i would turn on my laptop i would have an option of choosing ubuntu or windows. since i installed ubuntu this time i dont get that option. its not like i plan on getting rid of ubuntu for windows but i liked the idea of windows still being there as sort of a security blanket. also its to my understanding that if i want to run a windows program through wine i do need to get to windows to install it there. any ideas? help? something?
 
Old 09-27-2011, 02:43 AM   #2
samtoddler
Member
 
Registered: Jul 2011
Location: Delhi
Distribution: Cent OS/RHEL
Posts: 37

Rep: Reputation: Disabled
Hi,

You dont need to go to windows to install software using wine.You can do it straight inside the wine.
As far as the windows and ubuntu dual boot is concerned,
just add the following in the /boot/grub/grub.conf

title WINDOWS
root (hd0,0)
chainloader +1

this will fix the dual boot problem.

samtoddler
 
Old 09-27-2011, 03:11 AM   #3
9sp7ky3
Member
 
Registered: Mar 2011
Posts: 105

Original Poster
Rep: Reputation: 0
do i post /boot/grub/grub.conf in the terminal? do i need to root access?
 
Old 09-27-2011, 03:38 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Let's see how things are set up first. Go here, do as it says and post the RESULTS.txt
 
Old 09-27-2011, 03:51 AM   #5
samtoddler
Member
 
Registered: Jul 2011
Location: Delhi
Distribution: Cent OS/RHEL
Posts: 37

Rep: Reputation: Disabled
can't access windows off of alleged dual boot ubuntu 10.10

Hi,

you can just edit it using the command

Code:
 sudo vim /boot/grub/grub.conf
when it asks for password just type in your password and add the entries I've given at the end.

save it and exit.

samtoddler
 
Old 09-28-2011, 02:00 AM   #6
9sp7ky3
Member
 
Registered: Mar 2011
Posts: 105

Original Poster
Rep: Reputation: 0
syg00 im not sure if this is what you would call a RESULT.txt but after typing what i was told to and following said instructions this is what i got

spiky@spiky-Aspire-7741:~$ sudo bash ~/Downloads/boot_info_script.sh
bash: /home/spiky/Downloads/boot_info_script.sh: No such file or directory

samtoddler after typing in that command into the terminal i got this exactly

spiky@spiky-Aspire-7741:~$ sudo vim /boot/grub/grub.conf
sudo: vim: command not found

im getting a little discouraged here....almost like ill never see windows on my bootloader again....also...i dont even get the bootloader...it goes directly into ubuntu....when installing ubuntu i made sure to specify that i wanted it to dual boot and when i start up the laptop it says its unable to do something but it flashes by so quick i can't read it

also how do you post something in the lighter blue box to show exactly what you see. like you did syg00...i feel like such a serious newbie just posting what i got how i did...but hey im learning little by little...that is what matters right?
 
Old 09-28-2011, 02:07 AM   #7
9sp7ky3
Member
 
Registered: Mar 2011
Posts: 105

Original Poster
Rep: Reputation: 0
**** it says it's unable to detect available WMD devices....i think i just retarted it like 4 times....its a real quick flash
 
Old 09-28-2011, 02:36 AM   #8
samtoddler
Member
 
Registered: Jul 2011
Location: Delhi
Distribution: Cent OS/RHEL
Posts: 37

Rep: Reputation: Disabled
can't access windows off of alleged dual boot ubuntu 10.10

syg00 im not sure if this is what you would call a RESULT.txt but after typing what i was told to and following said instructions this is what i got

spiky@spiky-Aspire-7741:~$ sudo bash ~/Downloads/boot_info_script.sh
bash: /home/spiky/Downloads/boot_info_script.sh: No such file or directory
Quote:
Originally Posted by 9sp7ky3 View Post
samtoddler after typing in that command into the terminal i got this exactly

spiky@spiky-Aspire-7741:~$ sudo vim /boot/grub/grub.conf
sudo: vim: command not found
hi,

you can edit the grub.conf file in any text editor like gedit or nano

try

Code:
 gedit /boot/grub/grub.conf 

or 

nano /boot/grub/grub.conf
and put the content here what i've asked you.

samtoddler


........

Last edited by samtoddler; 09-28-2011 at 02:37 AM.
 
Old 09-28-2011, 05:26 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Quote:
Originally Posted by samtoddler View Post
syg00 im not sure if this is what you would call a RESULT.txt but after typing what i was told to and following said instructions this is what i got

spiky@spiky-Aspire-7741:~$ sudo bash ~/Downloads/boot_info_script.sh
bash: /home/spiky/Downloads/boot_info_script.sh: No such file or directory
Did you unzip the downloaded file ?. What does the following command show
Code:
ls Downloads/bo*
 
Old 09-28-2011, 06:21 PM   #10
9sp7ky3
Member
 
Registered: Mar 2011
Posts: 105

Original Poster
Rep: Reputation: 0
samtoddler

i opened up the gedit through the terminal and used exactly what you said to (gedit boot/grub/grub.conf) and it opened the text editor exactly like it should have so i put in exactly what you said

Quote:
title WINDOWS
root (hd0,0)
chainloader +1
it told me i didn't have the authority to do that so i entered the same command using sudo before gedit and it seemed to work fine. it didn't tell me i didn't have the authority again so i hit the save button (being im not too sure how to use the text editor) and shut down the laptop, restarted it, and there was no bootloader screen...went straight to Ubuntu again....did i do something wrong in the text editor? did i copy something incorrectly?


syg00

i did unzip the file into my Downloads folder (provided unzip and extract are the same thing....pretty sure they are) when i typed in the code you gave me into the terminal (with the zip file and the extracted folder in the Download folder) and i got this

Quote:
spiky@spiky-Aspire-7741:~$ ls Downloads/bo*
Downloads/boot_info_script060.zip

Downloads/boot_info_script060:
boot_info_script.sh CHANGELOG
since the first line was red and not white i felt like it was wrong and it said something about zip i tried taking the zip file out of the Downloads folder and put it elsewhere, leaving the extracted folder and i got this

Quote:
spiky@spiky-Aspire-7741:~$ ls Downloads/bo*
boot_info_script.sh CHANGELOG
 
Old 09-28-2011, 09:19 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
No, they're not (quite) the same unfortunately. It created another level to drop the files in - you need to run the script as
Code:
sudo bash ~/Downloads/boot_info_script060/boot_info_script.sh
That will create a file called RESULTS.txt - hopefully in your current directory. Post that here.

Last edited by syg00; 09-28-2011 at 09:20 PM. Reason: added ~/ just in case
 
Old 09-28-2011, 10:53 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,539

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
If you are using Ubuntu 10.10, you should have Grub2 installed and a /boot/grub/grub.cfg file which you can edit. It would be simpler to update grub. If you do have the default Grub2 installed and there is a grub.cfg file, just open a terminal and enter the following:

Quote:
sudo update-grub
You should be prompted for your user password. Enter it and hit the enter key. Reboot and see if you have a windows entry on the menu. If not you may need to run: sudo os-prober and then sudo update-grub again. If you get an error with os-prober, you may need to install it.

sudo apt-get install os-prober.

If you've replaced the default Grub2 bootloader with Grub Legacy, ignore the above.
 
Old 09-28-2011, 11:01 PM   #13
snooly
Member
 
Registered: Sep 2011
Posts: 124

Rep: Reputation: Disabled
You should probably make sure you have a boot cd or bootable usb stick of a Ubuntu live cd before you muck around with grub too much. It's possible to make the system not be able to boot at all if you do the wrong thing. If you already have a tested bootable live distro, you can much more easily fix it if things go wrong.
 
Old 09-28-2011, 11:26 PM   #14
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Quote:
Originally Posted by yancek View Post
If you do have the default Grub2 installed and there is a grub.cfg file, just open a terminal and enter the following:

Code:
sudo update-grub
You should be prompted for your user password. Enter it and hit the enter key. Reboot and see if you have a windows entry on the menu.
i agree with the above. ubuntu by default uses grub2, and so does debian, and when i used windows, and i first installed debian, i had to do the above to have it listed.
 
Old 09-29-2011, 11:19 AM   #15
9sp7ky3
Member
 
Registered: Mar 2011
Posts: 105

Original Poster
Rep: Reputation: 0
okay didn't get to try that yet but by general consensus it seems like this should be the final step in the little quest i've been going on...i'll try updating grub in just a little while being i'm mid-download of some things (being i should shut down the laptop after i update it) but one thing that i feel should be asked...should i backup everything onto like an external hard drive or something? i have the cd of ubuntu so i can always get it back thats no big deal, but i don't want to loose things that i 1) can't retrieve or 2) take 3 days to download again...so is this a "you'll possibly loose everything" type of deal? or should i not worry about it?
 
  


Reply



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
I had a windows xp pro 64 & ubuntu 10.4 dual boot in which I had to reload windows. JEBUP2JE Ubuntu 2 09-24-2010 12:35 AM
Losing Windows boot on dual boot Windows/Ubuntu machine windows22 Linux - Newbie 32 08-30-2010 09:54 PM
Want to upgrade Windows Vista to Windows 7 on a Dual Boot machine Ubuntu/Winvista. hector3rd Linux - Desktop 6 08-07-2010 05:33 PM
loading dual boot ubuntu: lost access to everything (no boot at all) JohnLocke Linux - Newbie 10 10-07-2008 10:29 PM

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

All times are GMT -5. The time now is 10:00 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