| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-31-2009, 05:18 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2009
Posts: 9
Rep:
|
Dual Boot Ubuntu and Vista: boot error PLEASE advise
hi
i reinstalled ubuntu onto my desktop, it was currently running vista, I wanted to dual boot them. I did a full install of ubuntu
When starting up my pc it loaded the ubuntu boot screen allowing me to choose which OS to boot. however ubuntu was set to default, but I wanted vista to be default.
Therefore I downloaded startupmanager and changed the default OS to Vista and the countdown time to 0 seconds (this was all done in ubuntu).
Now when I start up my pc, it loads to the ubuntu boot screen for about half a second selecting Vista then displays the message:
Starting Up ...
GRUB Loading stage2 ...
It then loops this
I therefore cannot boot Vista or ubuntu and have no clue what to do
any help/advice would be greatly appreciated
Thanks
Charlie
|
|
|
|
08-31-2009, 06:33 PM
|
#2
|
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
try running ubuntu as a livecd, and check that all your hard drive partitions are visible under the 'places' menu. if they are there, and you can access them using the livecd, you need to reinstall grub to your ubuntu partition.
|
|
|
|
09-02-2009, 02:51 AM
|
#3
|
|
LQ Newbie
Registered: Dec 2008
Posts: 1
Rep:
|
Supergrub
Hi
Download and run as a live CD "Supergrub" (just google)
This will give you plenty of options to arrange,re-install or repair your grub setup.
This can also be used to then specify your boot order.
Hope this helps
Clive
|
|
|
|
09-02-2009, 04:54 PM
|
#4
|
|
LQ Newbie
Registered: Aug 2009
Posts: 9
Original Poster
Rep:
|
Thank you :) another problem :/ ...
thank you very much, all is now sorted on the booting error, just fixed it through using a live cd and editing the menu.lst file through terminal.
However now I am unable to access the files on my vista partition...
below shows the partitions on my hard drive
Disk /dev/sda: 360.0 GB, 360080695296 bytes
255 heads, 63 sectors/track, 43777 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x46821cc3
Device Boot Start End Blocks Id System
/dev/sda1 * 1 43451 349020126 7 HPFS/NTFS
/dev/sda2 43452 43777 2618595 5 Extended
/dev/sda5 43452 43755 2441848+ 83 Linux
/dev/sda6 43756 43777 176683+ 82 Linux swap / Solaris
As you can see above there is a vista partition definatly still there..
however...
charlie@Jarvis:~$ sudo mount -t ntfs-3g -o force /dev/sda1 /media/vista
Unexpected clusters per mft record (-1).
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
I get the above when I try to mount the vista partition to /media/vista?
(this is what I entered to get the above :
charlie@Jarvis:~$ sudo mount -t ntfs-3g -o force /dev/sda1 /media/vista)
any ideas?
much appreciated 
|
|
|
|
09-03-2009, 11:05 AM
|
#5
|
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
It looks like the NTFS partition is not consistent, can you boot into Vista?
|
|
|
|
09-03-2009, 11:07 AM
|
#6
|
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
|
|
|
|
09-03-2009, 12:32 PM
|
#7
|
|
LQ Newbie
Registered: Aug 2009
Posts: 9
Original Poster
Rep:
|
thanks irishbitte
I can't boot into vista and when I put in the vista cd, it doesn't recognise that vista is installed as an OS :/
however the article that you linked me does sound similar so I'll follow those instructions
thanks
I'll post another reply after I've tried
|
|
|
|
09-04-2009, 11:54 AM
|
#8
|
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
well, hope that goes well, it seems that by 'fixing' the mbr in windows, you will be able to boot into your vista install. take a look down the very end of that article i linked you to, it seems that person got sorted, but i think it was windows xp. the commands are similar in vista, there are a few ways of fixing the mbr, look up easybcd for an easy way to reinstall your vista bootloader, and i think it may take care of linux for you too.
|
|
|
|
09-04-2009, 12:49 PM
|
#9
|
|
Member
Registered: Jul 2007
Distribution: Slackware 14
Posts: 207
Rep:
|
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 43451 349020126 7 HPFS/NTFS
/dev/sda2 43452 43777 2618595 5 Extended
/dev/sda5 43452 43755 2441848+ 83 Linux
/dev/sda6 43756 43777 176683+ 82 Linux swap / Solaris
Thats the problem, the windows drive is HPFS.
http://en.wikipedia.org/wiki/High_Pe...ce_File_System
|
|
|
|
09-07-2009, 05:05 AM
|
#10
|
|
LQ Newbie
Registered: Aug 2009
Posts: 9
Original Poster
Rep:
|
Quote:
Originally Posted by linuxpokernut
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 43451 349020126 7 HPFS/NTFS
/dev/sda2 43452 43777 2618595 5 Extended
/dev/sda5 43452 43755 2441848+ 83 Linux
/dev/sda6 43756 43777 176683+ 82 Linux swap / Solaris
Thats the problem, the windows drive is HPFS.
http://en.wikipedia.org/wiki/High_Pe...ce_File_System
|
How does that effect what I need to do?
|
|
|
|
09-08-2009, 05:26 PM
|
#11
|
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
It doesn't mean anything, from the article posted above:
Quote:
|
...NTFS and HPFS share the same filesystem identification number in the partition table....
|
This is mine:
Code:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x86bdeced
Device Boot Start End Blocks Id System
/dev/sda1 * 1 19345 155388681 7 HPFS/NTFS
/dev/sda2 19346 20202 6883852+ 7 HPFS/NTFS
/dev/sda3 20203 30401 81923467+ 5 Extended
/dev/sda5 20203 21418 9767488+ 83 Linux
/dev/sda6 21419 30172 70316473+ 83 Linux
/dev/sda7 30173 30401 1839411 82 Linux swap / Solaris
as you can see, I have two HPFS/NTFS partitions, one the main Vista one, and the other is the recovery partition.
|
|
|
|
09-08-2009, 05:27 PM
|
#12
|
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
Did you try the EasyBCD thing I posted?
|
|
|
|
09-09-2009, 10:45 AM
|
#13
|
|
LQ Newbie
Registered: Aug 2009
Posts: 9
Original Poster
Rep:
|
Quote:
Originally Posted by irishbitte
Did you try the EasyBCD thing I posted?
|
I can't boot into windows..
|
|
|
|
09-09-2009, 11:47 AM
|
#14
|
|
Senior Member
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Peppermint
Posts: 3,390
|
Quote:
|
I can't boot into windows..
|
What happened? In post #4 you indicate you 'sorted booting error' and in your last post and post #7 you indicate you can't.
Also, what is "startupmanager" you refer to in your first post? You said you set the timeout with this to zero (0) which is not a good idea since it gives you no time to select.
Anyhow, did you try re-installing Grub using your Ubuntu CD? That should be the simplest. If you load the CD in the drive, open a terminal and type: sudo grub you should get a grub prompt (grub>) and from there enter:
root (hd0,4)
setup (hd0)
quit
Hit enter key after each line. This should install Grub stage1 to the master boot record having it point to sda5 (Ubuntu) for the remaining Grub bootloader files.
EasyBCD irishbitte referred to is a program designed to modify the vista bootloader which is different than previous versions of windows. It is not a microsoft product (obvious since it is a free download) but they recommend it. If you want to go that way, there should be no reason why you would have to be able to boot vista, just download EasyBCD and copy it to a CD, put it in the drive and go. Grub, I believe would be easier.
|
|
|
|
09-10-2009, 09:14 AM
|
#15
|
|
LQ Newbie
Registered: Aug 2009
Posts: 9
Original Poster
Rep:
|
Quote:
Originally Posted by yancek
What happened? In post #4 you indicate you 'sorted booting error' and in your last post and post #7 you indicate you can't.
Also, what is "startupmanager" you refer to in your first post? You said you set the timeout with this to zero (0) which is not a good idea since it gives you no time to select.
Anyhow, did you try re-installing Grub using your Ubuntu CD? That should be the simplest. If you load the CD in the drive, open a terminal and type: sudo grub you should get a grub prompt (grub>) and from there enter:
root (hd0,4)
setup (hd0)
quit
Hit enter key after each line. This should install Grub stage1 to the master boot record having it point to sda5 (Ubuntu) for the remaining Grub bootloader files.
EasyBCD irishbitte referred to is a program designed to modify the vista bootloader which is different than previous versions of windows. It is not a microsoft product (obvious since it is a free download) but they recommend it. If you want to go that way, there should be no reason why you would have to be able to boot vista, just download EasyBCD and copy it to a CD, put it in the drive and go. Grub, I believe would be easier.
|
I fixed the boot issue - as in I can now boot into ubuntu however I am still unable to boot into vista.
It still comes up with the error message:
Loading Grub 1.5...
Error Loading Stage 2
Something like that, thats only when I choose with Vista.
I can't boot into vista at all...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:14 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|