LinuxQuestions.org
Help answer threads with 0 replies.
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


Closed Thread
  Search this Thread
Old 11-07-2007, 11:06 AM   #1
timberwolf90
LQ Newbie
 
Registered: Sep 2007
Location: CA, USA
Distribution: Freespire 2.0.0
Posts: 25

Rep: Reputation: 15
Angry no windows option in grub.tried mounting


Well, last night my mom was working on our home pc in windows (duel booting linux and windows) and she says it froze in the middle of printing something. She restarted it and it went into linux (does automatically, as it is first choice in grub).

So I attempted to restart in windows again and to my utter shock, in grub, there was no "Windows" option.

Linux version is Freespie 2.0.0.
Windows is Microsoft Windows (without SP2...tried to install it but took forever, not normal i think).

Some info according to GNOME Partition Editor in Linux:
Win: 25.4GB with 18.6GB used. NTFS and on partition /dev/hda1 Mounted on /mnt/winxp
another partition for files (not Win or Linux): 25.4GB with 18.1GB used. NTFS and on partition /dev/hda5 Mounted on /mnt/dos
Linux: 19.4GB with 2.4GB used. reiserf and on partition /dev/hda8


I went to "Diagnostics" and it says:

...$LogFile indicated unclean shutdown (0,0)
...
Failed to mount 'dev/hda5': Operation not supported
Mount is denied because NTFS logfile is unclean...

Then says to
1. boot windows and shut it down cleanly (CANT!!!)
or
2. if you have a removable device, then in taskbar...'Safely Remove Hardware'...blah blah blah
or
3. Run ntfsfix version 1.31.1 on Linux
or
4. Mount the NTFS volume with the 'ro' option in read-only mode

I tried #3 and it says everything went well...then tried booting to Windows and nothing in grub (UGH!)

I tried #4 and did the following:
Code:
sudo mount /dev/hda1 /mnt/winxp -t ntfs -r
and
Code:
sudo mount /dev/hda5 /mnt/dos -t ntfs -r
I could view the /mnt but both /mnt/winxp and /mnt/dos were locked and couldn't open.
I tried rebooting again and still no Windows in grub

I tried changing /mnt/winxp permissions
Code:
sudo chmod 777 /mnt/winxp
chmod: changing permissions of '/mnt/winxp': Read-only file system
Nothing changed. Could view /mnt/winxp in shell though

Browsed the internet and found out how to view /mnt/winxp as root:
Code:
go to "Run command" (or alt-F2)
kdesc -c konqueror file:///etc/httpd/
I could view /mnt/dos and /mnt/winxp but still no booting in windows

I went back into "Diagnostics" and it said to use ntfs-3g and to force mount the drive

I already had ntfs-3g installed and so I tried it. In /mnt/dos it worked (could view files) but nothing in /mnt/winxp


Sooooo.....what else should I do. I've tried mounting and still can't boot windows.
 
Old 11-07-2007, 11:14 AM   #2
timberwolf90
LQ Newbie
 
Registered: Sep 2007
Location: CA, USA
Distribution: Freespire 2.0.0
Posts: 25

Original Poster
Rep: Reputation: 15
moved this topic

just realized I should put this topic in General

moved to: http://www.linuxquestions.org/questi...9/#post2951142
 
Old 11-07-2007, 11:18 AM   #3
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
Why not just put in your windows cd boot to it and restore your MBR, then after you have windows up and running, use a live-cd to restore Grub?

Or just restore your windows entery take a look at this howto by saikee it has about anything on restoring Grub you need.

Last edited by mrrangerman; 11-07-2007 at 11:26 AM.
 
Old 11-07-2007, 01:17 PM   #4
timberwolf90
LQ Newbie
 
Registered: Sep 2007
Location: CA, USA
Distribution: Freespire 2.0.0
Posts: 25

Original Poster
Rep: Reputation: 15
I put in my WinXP cd and in shell, put in "fixmbr" says "bash: fixmbr: command not found"

I'll try to repair MBR with my windows cd...but dont ever recall anything about MBR in Windows...we'll see...
 
Old 11-07-2007, 01:57 PM   #5
timberwolf90
LQ Newbie
 
Registered: Sep 2007
Location: CA, USA
Distribution: Freespire 2.0.0
Posts: 25

Original Poster
Rep: Reputation: 15
booted from WinXP CD

Put in WinXP cd and booted from it.
I went to Install, then repair..it checked my disks and i think thats pretty much it.
It then restarted and still no change.

I didn't see anything about MBR...
 
Old 11-07-2007, 02:05 PM   #6
kai_summers
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
no windows in grub

ok firstly load into Linux

Edit /etc/grub.conf

Check to see if there is a reference to windows there if not here is a copy of my grub loader..

Code:
# grub.conf generated by Ubuntu
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda2
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Ubuntu Linux
	root (hd0,1)
	kernel /vmlinuz-2.4.7-10 ro root=/dev/hda3 hdc=ide-scsi
	initrd /initrd-2.4.7-10.img
title Windows XP
	rootnoverify (hd0,0)
	chainloader +1
You should only need to add this to the end of the conf file

Code:
title Windows XP
	rootnoverify (hd0,0)
	chainloader +1
Replacing the title with your distribution of windows.. If you have vista please reply back and I have a copy of the Grub file for Vista.

Hope this helps

Kai

Last edited by kai_summers; 11-07-2007 at 02:15 PM.
 
Old 11-07-2007, 03:00 PM   #7
timberwolf90
LQ Newbie
 
Registered: Sep 2007
Location: CA, USA
Distribution: Freespire 2.0.0
Posts: 25

Original Poster
Rep: Reputation: 15
no grub.conf

Quote:
Originally Posted by kai_summers View Post
Edit /etc/grub.conf
There is no such file...weird

timberwolf90
 
Old 11-07-2007, 04:23 PM   #8
timberwolf90
LQ Newbie
 
Registered: Sep 2007
Location: CA, USA
Distribution: Freespire 2.0.0
Posts: 25

Original Poster
Rep: Reputation: 15
I thought about booting from a floppy but none of my floppy's I had would work...
So I used my USB thumb drive.
I used Super Grub...hehehe

SO I edited bios and first choice was USB-ZIP and amazingly Windows was there in grub!

Thanks for the advice!
 
Old 11-07-2007, 04:36 PM   #9
timberwolf90
LQ Newbie
 
Registered: Sep 2007
Location: CA, USA
Distribution: Freespire 2.0.0
Posts: 25

Original Poster
Rep: Reputation: 15
NO!!!!!!!!!!!!!!!

UGH!

I decided to restart, just to make sure it would work normally, and windows disappeared again!

I really have no idea what to do now...

please help!! Getting very frustrated
 
Old 11-07-2007, 06:05 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Closed by this note
 
  


Closed Thread


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
GRUB option for XP /3GB switch kmshawtn Linux - General 2 05-22-2007 09:28 PM
Grub - fallback option? coralsaw Debian 9 12-21-2005 07:07 AM
GRUB option Rªdical_£D SUSE / openSUSE 13 09-18-2005 12:31 PM
grub+adding windows option gonus Debian 3 08-01-2004 03:43 PM
dual rh 9 no grub option BobNz Linux - Newbie 6 05-02-2004 11:56 PM

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

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