Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Installation
Reload this Page Tertiary Install of Windows over Ubuntu Linux, need advice!
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Installation Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Reply
 
Thread Tools Display Modes
Old 06-04-2008   #21 (permalink)
PenguinXtra
Just Joined!
 
Join Date: Jun 2008
Posts: 20
Ok so I might have found something here, I went back and checked the /etc/fstab entires that I changed to dereference the UUIDs and I noticed that it got cleared/edited somehow. Here is what is contains

Quote:
unionfs / unionfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda2 swap swap defaults 0 0
PenguinXtra is offline   Reply With Quote
Old 06-04-2008   #22 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,445
Code:
## ## End Default Options ##

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/sda3 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
Should get Ubuntu back in working order again.
Code:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
and try this mod for Vista ... do they work again?

Ed: looks as though your partitions were renumbered during the XP install or partition resizing or something similar which has stopped grub menu entries from working.

I think you will also need to alter the /etc/fstab of your installed Ubuntu ... to do this boot from the live CD and remount partition sda3 and edit it with nano (something like post #6).
Everything else is working you can sort the uuid stuff out again if you want.
Jonathan183 is offline   Reply With Quote
Old 06-04-2008   #23 (permalink)
yancek
Linux User
 
Join Date: Oct 2007
Location: Tucson AZ
Posts: 378
Your Ubuntu is on partition 4 so run the commands suggested changing the root (hd0,2) to root (hd0,3). You can see this in your menu.lst file

sudo grub
root (hd0,3)
setup (hd0)
quit

Your posting of the 'ls /manmount/boot' command shows the vmlinuz and initrd files are there.
yancek is offline   Reply With Quote
Old 06-04-2008   #24 (permalink)
PenguinXtra
Just Joined!
 
Join Date: Jun 2008
Posts: 20
Ok that edit got the Ubuntu install working again, as for the Vista install I now get

Error 11: Unrecognized device string
PenguinXtra is offline   Reply With Quote
Old 06-04-2008   #25 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,445
Can you post just the Vista part of your grub menu.lst file again ... if you booted from the hard drive
Code:
sudo cat /boot/grub/menu.lst
should work now.
Jonathan183 is offline   Reply With Quote
Old 06-04-2008   #26 (permalink)
PenguinXtra
Just Joined!
 
Join Date: Jun 2008
Posts: 20
The vista portion of menu.lst reads

Quote:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
Edit: OK nm, there was a typo in root (hd0,0)....it was spelled (hd0,o)
PenguinXtra is offline   Reply With Quote
Old 06-04-2008   #27 (permalink)
PenguinXtra
Just Joined!
 
Join Date: Jun 2008
Posts: 20
Alright so, the GRUB loader is almost correct now, Ubuntu loads up correctly and the Vista option loads up XP. So I imagine I need to add an entry for XP and fix the Vista boot record, but I am not exactly sure how to do that with Super Grub.
PenguinXtra is offline   Reply With Quote
Old 06-04-2008   #28 (permalink)
Jonathan183
Linux Engineer
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,445
I think you need to fix Windows Vista boot using the link yancek gave in post #14, add XP entry and check both version of Windows boot and then re-install grub using the live Ubuntu live CD and post #16
Jonathan183 is offline   Reply With Quote
Old 06-05-2008   #29 (permalink)
PenguinXtra
Just Joined!
 
Join Date: Jun 2008
Posts: 20
The first command the tutorial calls for is a
Quote:
E:\boot\Bootsect.exe /NT60 All
The problem is I am running this command under Windows XP 32Bit.
When I run this command from the command prompt under administrator I get the error "E:\boot\bootsect.exe is not a valid Win32 application." Which I imagine is due to the fact that the Vista x64 install disk uses a 64 bit application. Should I use the Vista x86 install disk or would that make things worse?
PenguinXtra is offline   Reply With Quote
Old 06-05-2008   #30 (permalink)
PenguinXtra
Just Joined!
 
Join Date: Jun 2008
Posts: 20
Ok, so the method I used to fix the Vista boot was to just boot to the Vista DVD and use the "Repair Startup" option. It was pretty fast and didnt require any NTLDR editing. I will post back once I get the XP install added into GRUB.
PenguinXtra is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 01:58 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0