LinuxQuestions.org
Review your favorite Linux distribution.
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-17-2010, 12:00 PM   #1
jayakkumar
LQ Newbie
 
Registered: Jul 2010
Posts: 8

Rep: Reputation: 0
Question unable to boot after installing ubuntu 10.04


recently i installed ubuntu 10.04 from a cd to my pendrive. it worked fine but i can boot only with my pen drive inserted. i visited two more threads in this forum with same topic but no answers worked for me(i have not tried any third party mbr repair softwares). i have to go through grub to access my recovery drive which is a part of my hdd.( i do not have any command prompt options in my windows recovery console which is in my hdd. i want to be able to use grub and linux but i dont want to insert my pen drive for every boot.
 
Old 09-17-2010, 12:55 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,565

Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
Why not install ubuntu to your hard disk? That's what people who don't want to use pendrives do.
 
Old 09-19-2010, 04:02 AM   #3
jayakkumar
LQ Newbie
 
Registered: Jul 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy

thanks for the reply , but i am sort of short on space on my hdd.
i did try backupmbr software referred in a similar thread. it worked and i got my win7 working from hdd
but i want to use ubuntu now n then
from browsing here and there i am just making a guess here:
ubuntu changed my hdd boot sect to boot grub
grub is actually in my pen drive ( i can still see grub inside /boot/grub..)
after using backupmbr i have reverted to win7 boot sector
two questions:
1.can i still make my pen drive boot grub and load into ubuntu
2.should i copy contents of pendrive to hdd and install grub on hdd to be able to boot ubuntu and win7
 
Old 09-19-2010, 05:44 AM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
To be sure .
Where did you install GRUB ?
On the MBR of the pendrive ?
OR on the MBR of SDA ? = windows drive
How great is you're pendrive ?
Which was the first boot drive during install ?
The internal drive or the pendrive ?
Do you BIOS allowed you to boot from the pendrive ?
Booting only UBUNTU from the pendrive can means that you have to change the sequence in the BIOS during boot .
 
Old 09-19-2010, 05:53 AM   #5
jayakkumar
LQ Newbie
 
Registered: Jul 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ronlau9 View Post
To be sure .
Where did you install GRUB ?
On the MBR of the pendrive ?
OR on the MBR of SDA ? = windows drive
How great is you're pendrive ?
Which was the first boot drive during install ?
The internal drive or the pendrive ?
Do you BIOS allowed you to boot from the pendrive ?
Booting only UBUNTU from the pendrive can means that you have to change the sequence in the BIOS during boot .
this is what i did
i installed ubuntu from cd onto my pen drive
it had an option to install ubuntu alongside windows which is what i did
my pen drive is 16gb it was repartioned as 12 gb linux and 2 gb swap partition, the initial 2gb was left unchanged ( this info is from gparted)
about boot sequence:
i can boot from usb, but after this install i had to disable boot from pen drive to be able to boot into ubuntu
i tried to boot from usb by using another pendrive which has slax in it and it worked fine
so as i stated earlier i think grub was installed in hdd but the main grub files are in pendrive along with other linux files
 
Old 09-19-2010, 07:00 AM   #6
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
If you really write GRUB on the MBR of the pendrive it means that the MBR of sda is unchanged .
So booting windows should not be a problem even if the install on the pendrive fails
I have never install UBUNTu on a pendrive but I did it with Fedora and it works without effecting the boot of my other HDs.
What I do know is that UBUNTU standard install GRUB in MBR of sda unless you have used the Advance option with come after choosing where to install UBUNTU (so after the partitioning option)
Did you use that ADVANCE Option

Last edited by ronlau9; 09-19-2010 at 07:02 AM.
 
Old 09-19-2010, 10:46 AM   #7
jayakkumar
LQ Newbie
 
Registered: Jul 2010
Posts: 8

Original Poster
Rep: Reputation: 0
yes i did use the advanced option to install to sdb
i have used mbrfix a program sugested by someone else on a similar thread. now i am able to boot into win7 directly like i used to before linux.
excuse me if i am repeating this but i want to be able to boot into linux from pen drive , i know i can use unetbootin but it loads like a live cd so my changes are not saved
 
Old 09-19-2010, 10:52 AM   #8
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
so you have Ubuntu installed to usb as a hdd install?
not as a liveusb?

when you boot off the usb, then do "fdisk -l" as root
does it see the usb as sda or sdb?

can you post the /boot/grub.cfg on the usb and also the /etc/fstab
of the usb?
 
Old 02-06-2011, 12:39 AM   #9
jayakkumar
LQ Newbie
 
Registered: Jul 2010
Posts: 8

Original Poster
Rep: Reputation: 0
i have used what business kid suggested and installed linux on my hdd, now it works fine , i am a sailor so i was not able to get access to a comp for the last 6 months thanks every one
i dont know how to close this thread , somebody can pls do it for me, thanks again
 
Old 02-07-2011, 04:04 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,565

Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
Click on one of your posts and you often see "mark this thread as solved" if you are the OP. Alternatively edit post #1, go advanced and change it there.
 
Old 02-07-2011, 04:07 AM   #11
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
or scroll up the page and look carefully at the top right corner
 
  


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
Xen - Unable to Boot from Ubuntu ISO fachamix Linux - Virtualization and Cloud 2 06-15-2010 07:10 AM
unable to boot ubuntu after update rahulkya Linux - Newbie 8 04-08-2010 04:59 PM
Unable to complete boot of Ubuntu 9.04 allblackfan Linux - Newbie 2 10-21-2009 07:31 PM
Unable to boot UBUNTU 7.10 klafilin Linux - Newbie 11 07-17-2008 04:47 AM
Unable to boot Ubuntu kramer2718 Linux - General 10 05-29-2008 02:45 AM


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