Re: Where has my Windows partition gone?

2010-11-14 Thread Andrei Popescu
On Sb, 13 nov 10, 22:33:25, John O Laoi wrote:
 Hello,
 I have a dual boot laptop running squeeze.
 
 I update regularly.
 
 I rarely use the Windows partition – I have not used it for several months.
 
 However, it now appears to be gone, according to grub.
 At least, when I boot up, and get the blue screen with the list of
 options, the Windows one is not there.
 Instead I get a list of kernels

Make sure you have os-prober installed and run 'update-grub'. You should 
not need to customize grub's files.

The tool to show UUIDs is blkid from the package util-linux.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Where has my Windows partition gone?

2010-11-14 Thread Camaleón
On Sat, 13 Nov 2010 22:33:25 +, John O Laoi wrote:

 I have a dual boot laptop running squeeze.
 
 I update regularly.
 
 I rarely use the Windows partition – I have not used it for several
 months.
 
 However, it now appears to be gone, according to grub. At least, when I
 boot up, and get the blue screen with the list of options, the Windows
 one is not there. Instead I get a list of kernels

(...)

What you seem to have lost is your GRUB's booting Windows entry, 
nothing to worry about :-)

First, was windows menu there before? This is important, because if it 
was there, it should stay. Auto-deletion of any GRUB's menu entry could 
be considered a bug.

If it never was present, then it's fine. Automatic detection of other OS 
is not always possible, although desirable. Anyway, you can always 
manually add an entry for your OS.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.11.14.11.44...@gmail.com



Where has my Windows partition gone?

2010-11-14 Thread John O Laoi
Thanks to everyone for all of the suggestions.

The issue is now solved.

I resolved it as follows:

# aptitude install os-prober  (It was not installed)
# os-prober
# update-grub


First, was windows menu there before? 
It was, and I don't know when or how it was deleted.
I assume that it happened during an update.
I can't say exactly when, as I haven't looked to use the windows
partition for a while.

Again, Thanks everyone.

John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimy4sd+vbxnwbvpa042ly2xyuqt0jdbuhm0w...@mail.gmail.com



Where has my Windows partition gone?

2010-11-13 Thread John O Laoi
Hello,
I have a dual boot laptop running squeeze.

I update regularly.

I rarely use the Windows partition – I have not used it for several months.

However, it now appears to be gone, according to grub.
At least, when I boot up, and get the blue screen with the list of
options, the Windows one is not there.
Instead I get a list of kernels

But “fdisk -l” says it is still there.

  Device Boot  Start End  Blocks   Id  System

/dev/sda1   1  11   88326   de  Dell Utility

/dev/sda2   *  12262220972857+   7  HPFS/NTFS

/dev/sda32623523320972857+   7  HPFS/NTFS

/dev/sda45234   12161556491605  Extended

/dev/sda55234719115727603+  83  Linux

/dev/sda671927452 2096451   82  Linux swap / Solaris

/dev/sda77453   1216137825011   83  Linux



Any ideas?

John


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktin_uf1h_nmuuqpwyk8my0d2pwk-f681mqa7p...@mail.gmail.com



Re: Where has my Windows partition gone?

2010-11-13 Thread Thierry Chatelet
On Saturday 13 November 2010 23:33:25 John O Laoi wrote:
 Hello,
 
 Any ideas?
 
 John

Try: update-grub

Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201011132351.54504.tchate...@free.fr



Re: Where has my Windows partition gone?

2010-11-13 Thread Thierry Chatelet
On Saturday 13 November 2010 23:51:54 Thierry Chatelet wrote:
 On Saturday 13 November 2010 23:33:25 John O Laoi wrote:
  Hello,
  
  Any ideas?
  
  John
 
 Try: update-grub
as root!
 Thierry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201011132357.19833.tchate...@free.fr



Where has my Windows partition gone?

2010-11-13 Thread John O Laoi
 Try: update-grub
 as root!

Thank you.
Unfortunately, this did not do the trick:

# update-grub
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found linux image: /boot/vmlinuz-2.6.32-3-686
Found initrd image: /boot/initrd.img-2.6.32-3-686
Found linux image: /boot/vmlinuz-2.6.32-trunk-686
Found initrd image: /boot/initrd.img-2.6.32-trunk-686
Found linux image: /boot/vmlinuz-2.6.30-2-686
Found initrd image: /boot/initrd.img-2.6.30-2-686
Found linux image: /boot/vmlinuz-2.6.30-1-686
Found initrd image: /boot/initrd.img-2.6.30-1-686
Found linux image: /boot/vmlinuz-2.6.26-2-686
Found initrd image: /boot/initrd.img-2.6.26-2-686
done

Any other ideas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikw_o080bbol=17v39qpyhyqvkov3gl3nhxm...@mail.gmail.com



Re: Where has my Windows partition gone?

2010-11-13 Thread Davide Mancusi
On Sat, 13 Nov 2010 22:33:25 +
John O Laoi brianol...@gmail.com wrote:

 Hello,
 I have a dual boot laptop running squeeze.
 
 I update regularly.
 
 I rarely use the Windows partition – I have not used it for several
 months.
 
 However, it now appears to be gone, according to grub.
 At least, when I boot up, and get the blue screen with the list of
 options, the Windows one is not there.
 Instead I get a list of kernels
 
 But “fdisk -l” says it is still there.
 
   Device Boot  Start End  Blocks   Id  System
 
 /dev/sda1   1  11   88326   de  Dell Utility
 
 /dev/sda2   *  12262220972857+   7  HPFS/NTFS
 
 /dev/sda32623523320972857+   7  HPFS/NTFS
 
 /dev/sda45234   12161556491605  Extended
 
 /dev/sda55234719115727603+  83  Linux
 
 /dev/sda671927452 2096451   82  Linux swap /
 Solaris
 
 /dev/sda77453   1216137825011   83  Linux
 
 
 
 Any ideas?
 
 John

Do you have os-prober installed?

Cheers,
Davide

-- 
Time flies like an arrow.  Fruit flies like a banana.
--
If anything can go wrong it wSegmentation fault
core dumped


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101114001848.7ee2e...@macco.homelinux.com



Re: Where has my Windows partition gone?

2010-11-13 Thread Carl Fink
On Sat, Nov 13, 2010 at 11:11:03PM +, John O Laoi wrote:

 Any other ideas

Try mounting /dev/sda2 and /dev/sda3 and see if they're still working right. 
If not, you might need to fsck them (ideally from a Windows install disk,
which would call the function chkdsk).
-- 
Carl Fink   nitpick...@nitpicking.com 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101113232832.gb11...@panix.com



Re: Where has my Windows partition gone?

2010-11-13 Thread teddieeb

I have had grub do this sortta thing before...

Check your menu.list file and see if the entry for windows is still there, I 
have seen it disappear or somehow be eaten.

/boot/grub/menu.list

I don't have an example code in front of me but you can look it up and verify 
it, mostly you just need to make sure there is a label and that it points to 
the windows partition. Remeber drive and partition numbers start with 0 (second 
partition on first hard drive is hd(0,1)

I would so check that out before running installation scripts.

Hope it's helpful;
TeddyB

-Original Message-
From: Carl Fink c...@finknetwork.com
Date: Sat, 13 Nov 2010 18:28:32 
To: debian-user@lists.debian.org
Subject: Re: Where has my Windows partition gone?

On Sat, Nov 13, 2010 at 11:11:03PM +, John O Laoi wrote:

 Any other ideas

Try mounting /dev/sda2 and /dev/sda3 and see if they're still working right.
If not, you might need to fsck them (ideally from a Windows install disk,
which would call the function chkdsk).
--
Carl Fink   nitpick...@nitpicking.com

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101113232832.gb11...@panix.com



Re: Where has my Windows partition gone?

2010-11-13 Thread Doug

On 11/13/2010 5:33 PM, John O Laoi wrote:

Hello,
I have a dual boot laptop running squeeze.

I update regularly.

I rarely use the Windows partition – I have not used it for several months.

However, it now appears to be gone, according to grub.
At least, when I boot up, and get the blue screen with the list of
options, the Windows one is not there.
Instead I get a list of kernels

But “fdisk -l” says it is still there.

   Device Boot  Start End  Blocks   Id  System

/dev/sda1   1  11   88326   de  Dell Utility

/dev/sda2   *  12262220972857+   7  HPFS/NTFS

/dev/sda32623523320972857+   7  HPFS/NTFS

/dev/sda45234   12161556491605  Extended

/dev/sda55234719115727603+  83  Linux

/dev/sda671927452 2096451   82  Linux swap / Solaris

/dev/sda77453   1216137825011   83  Linux



Any ideas?

John


I don't know what may be available on other disks, but the PCLINUXOS
Live disk, in the live section (i.e., without actually installing
PCLos) will let you go to More ApplicationsConfigurationRedo MBR
and then you should be able to get your Windows back.  It also
provides you with a nice boot screen, unlike Ubuntu's grub version.
(I don't remember what Debian's looks like.) I have used this to
get boot inputs for Debian and Ubuntu, as well as PCLos andthe Windows 
XP which it already recognized.  If you have something odd, like an 
extra ghost version of some system showing up, it provides a text

version of the partition information which you can modify if you
need to.  I am on a different computer right now, but I will send to
your address a copy of this text as it exists on my laptop.  Note
that some lines are commented out, by me, as this was a ghost
problem created by Ubuntu, and showed up on their grub menu also.

--doug
--
Blessed are the peacemakers...for they shall be shot at from both sides. 
 --A.M. Greeley



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cdf346f.3040...@optonline.net



Re: Where has my Windows partition gone?

2010-11-13 Thread teddieeb

Hmmm, I coulda swore my testing/squeeze install had one. 

That's the thing I hate, everything always moving around.

Grub2 has to have a config file somewhere that's comparable to menu.list to 
fetch it from, what is the new config file and where is it?

Second, I haven't been a fan of the uuid thing mainly because I dunno how to 
identify a drives uuid. What is the CLi commands one would use to identify a 
given drive and it's uuid?

Always learn something;
TeddyB



--Original Message--
From: Thierry Chatelet
To: Tim Saunders
Subject: Re: Where has my Windows partition gone?
Sent: Nov 13, 2010 8:01 PM

On Sunday 14 November 2010 01:52:41 teddi...@tmo.blackberry.net wrote:

 Check your menu.list file and see if the entry for windows is still there,
 I have seen it disappear or somehow be eaten.

 /boot/grub/menu.list


No more menu.list with grub2 which is the default (I am guessing here) with
squeeze. Also, hard drive are called by their UUID now.

Thierry



Re: Where has my Windows partition gone?

2010-11-13 Thread teddieeb

To answer my own questions...

Grub2 seems to store it's configurations in /boot/grub/grub.cfg

But this file is not meant to be manually configured, it can be, but is 
discouraged and is read-only by default.

Standard manual menu edits should be done in /etc/grub.d/40_custom

This is a module system and you must run # update-grub to load the updated 
module.

If you wanna see the auto probe results that should be in 
/etc/grub.d/30_os-prober

If your system isn't auto-detecting you windows system check to see that 
os-prober is installed. If not, apt-get and run update-grub.


Useful information here:

http://ubuntuforums.org/showthread.php?t=1195275


Apparently you can get hard disk and uuid infomation at the command line by 
running # blkid

I haven't tested this yet but should be interesting...

TeddyB

-Original Message-
From: teddi...@tmo.blackberry.net
Date: Sun, 14 Nov 2010 01:25:27 
To: Debian Listsdebian-user@lists.debian.org
Reply-To: teddi...@tmo.blackberry.net
Subject: Re: Where has my Windows partition gone?


Hmmm, I coulda swore my testing/squeeze install had one. 

That's the thing I hate, everything always moving around.

Grub2 has to have a config file somewhere that's comparable to menu.list to 
fetch it from, what is the new config file and where is it?

Second, I haven't been a fan of the uuid thing mainly because I dunno how to 
identify a drives uuid. What is the CLi commands one would use to identify a 
given drive and it's uuid?

Always learn something;
TeddyB



--Original Message--
From: Thierry Chatelet
To: Tim Saunders
Subject: Re: Where has my Windows partition gone?
Sent: Nov 13, 2010 8:01 PM

On Sunday 14 November 2010 01:52:41 teddi...@tmo.blackberry.net wrote:

 Check your menu.list file and see if the entry for windows is still there,
 I have seen it disappear or somehow be eaten.

 /boot/grub/menu.list


No more menu.list with grub2 which is the default (I am guessing here) with
squeeze. Also, hard drive are called by their UUID now.

Thierry



Re: Where has my Windows partition gone?

2010-11-13 Thread Robert Holtzman
On Sun, Nov 14, 2010 at 01:25:27AM +, teddi...@tmo.blackberry.net wrote:


 Second, I haven't been a fan of the uuid thing mainly because I dunno how to 
 identify a drives uuid. What is the CLi commands one would use to identify a 
 given drive and it's uuid?

ls -l /dev/disk/by-uuid

-- 
Bob Holtzman
Key ID: 8D549279
If you think you're getting free lunch,
 check the price of the beer


signature.asc
Description: Digital signature


Re: Where has my Windows partition gone?

2010-11-13 Thread Jimmy Johnson

John O Laoi wrote:

Try: update-grub

as root!


Thank you.
Unfortunately, this did not do the trick:

# update-grub
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found linux image: /boot/vmlinuz-2.6.32-3-686
Found initrd image: /boot/initrd.img-2.6.32-3-686
Found linux image: /boot/vmlinuz-2.6.32-trunk-686
Found initrd image: /boot/initrd.img-2.6.32-trunk-686
Found linux image: /boot/vmlinuz-2.6.30-2-686
Found initrd image: /boot/initrd.img-2.6.30-2-686
Found linux image: /boot/vmlinuz-2.6.30-1-686
Found initrd image: /boot/initrd.img-2.6.30-1-686
Found linux image: /boot/vmlinuz-2.6.26-2-686
Found initrd image: /boot/initrd.img-2.6.26-2-686
done

Any other ideas



If you can find your active /boot/grub/menu.lst or /boot/grub/grub.cfg 
then add the below 3 lines to it, making sure you still have a blank 
line at the bottom before you save it.


title Microsoft Windows at sda2
rootnoverify (hd0,1)
chainloader +1
--
Jimmy Johnson

SimplyMEPIS Alpha-1 at sda9
Registered Linux User #380263


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cdf8cf3.6000...@gmail.com