Help: Can't boot onto windows vista

Hi. I new to opensuse and just installed it today. When I installed it, I used lvm to parition my hard drive and just let it do its thing. It shrunk my windows partition to 150 GB of 250 GB. I assumed it would let me dual boot just like ubuntu let me do but when I booted. It only gave me two options Desktop – OpenSUSE 11.3 and failsafe – opensuse 11.3. Those are also the two options it gives me when I look at the boot loader settings. Did I delete my Windows parition or did I just forget to specify to allow for a dual boot and how can i fix this so I can dual boot. Please help and thanks.

Also when I view expert paritioner I see that in the paritions it says that I have two paritions one is /dev/sda1 70.00MB Linux Native Ext4 and the mount says /boot
and the second is /dev/sda2 232.82 GB Linux LVM. Does this mean that my entire hard drive has been formatted and I am only using linux because the installer appeared to only shrink the parition or does this mean that windows is sharing the parition with linux and I can edit this so I can boot windows.

I have never used LVM and always use Grub. If I add the two partitions sizes together it adds up to about 300 GB. What size is your hard drive? Why did you elect to use LVM over Grub? Do you have a copy of Windows should you need to reload it?

Did you know this is the very best time to learn openSUSE Linux very well, when you have no other choice to select?lol!

Thank You,

Please boot to SUSE
Open a terminal and become su -
Become su in Terminal - HowTo

In the terminal do:

fdisk -l

post result here

ravis51 wrote:
> When I installed
> it, I used lvm to parition my hard drive and just let it do its
> thing.

BAD move! LVM is not a partitioner, instead it is a “Logical Volume
Manager”…so, i don’t know exactly what you tried to do…

> It shrunk my windows partition to 150 GB of 250 GB.

i think you saw a install script proposal to shrink the Windows
partition and make a dual boot setup, but then instead of going with
the offered dual-boot resulting proposal you clicked on “Create LVM
Based Proposal” see
http://en.opensuse.org/SDB:Live_CD_installation_for_11.3
and its http://en.opensuse.org/images/b/b1/OS_11.3_live_install_6.png

and, you then elected to all the full disk install you got…

> Did I delete my Windows parition

sounds like it…sure hope you made a real good backup of all your
existing data before you did that…

> how can i fix this so I can dual boot. Please help and thanks.

install Windows first…but, before you do you will have to use the
install disk’s parted to partition to a windows file system (since
windows is not allowed to even see a Linux system it will report the
drive as hopelessly corrupt…which it is not)

then after windows is installed you can restore your data from the
backup, and then install openSUSE again, after you have made sure you
understand partitioning…there is lot on that in the wiki and
http://forums.opensuse.org/english/information-new-users/

but before you go further follow caf4926s advice, and maybe you are
more lucky than i think you are…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

when i did the fdisk thing i got
linux-979u:~ # fdisk -1
fdisk: invalid option – ‘1’

Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks

Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c switch off DOS-compatible mode
-h print help
-u <size> give sizes in sectors instead of cylinders
-v print version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track
Also when I go to sysinfo it says my /boot is only 67MB. Does this mean that I have a whole different part of my hard drive that is not being recognized by linux that may have my windows files?

Also @Denver D, on the article you directed me to, it said
"Choose the hard disk you want to use for installation. If you have another operating system installed on the same hard disk (for example, Microsoft Windows or another Linux), YaST will resize that operating system so that it still on your computer, but has enough room to install openSUSE 11.3. " which is what i did. It also said it will resize windows partition, Not delete windows partition like on http://wiki.opensuse.org/images/5/5a/OS_11.3_live_install_8.png

It is fdisk -l ( that is a lower case L not a one)

Hi

try this url for help. Solved my issues when I still running vista (no more!!)

openSUSE SuSE Linux HOWTOs and Tutorials by Swerdna

cheers Otto

ok my bad here is the correct output:
linux-979u:~ # fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfa790449

Device Boot Start End Blocks Id System
/dev/sda1 * 1 10 71680 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 10 30402 244125696 8e Linux LVM

Disk /dev/dm-0: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn’t contain a valid partition table

Disk /dev/dm-1: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn’t contain a valid partition table

Disk /dev/dm-2: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn’t contain a valid partition table

When you changed to LVM file system you changed the proposed partitioning scheme. Apparently you selected the whole drive at that point and did not double check the scheme.

It looks like you zapped Windows.

I must admit that I don’t know about these Disk /dev/dm-X devices that are showing up.

ok. I don’t think I changed the proposed partitioning scheme but I guess I could have. However, does that mean that my hard drive was formatted and I lost all my personal data. I am asking because the installation was fairly quick and it didn’t say that I deleted any partitions. Also on sysinfo it says /boot is only 67.8 MB meaning the other 250 GB of hard drive must be there somewhere but it is not showing up when I am regularly using opensuse.

ravis51 wrote:
> ok. I don’t think I changed the proposed partitioning scheme but I guess
> I could have.

CAUTION! i know next to nothing about LVM file systems…you may want
to wait for someone who knows which tools to use to check your disk
for signs of a lingering Win system before following my advice…and,
read my caveat anyway…

BUT, the way i read your fdisk -l output is that you have one 250GB
hard drive containing only a Linux file system…(and zero space
assigned to any Windows or other file system)

which means you didn’t actually do what you intended to do during
install…as i said earlier you were offered a shrink Win and add dual
booting with Win…but, instead of accepting that you clicked to
proceed with a different (LVM) method of file system creation…

> However, does that mean that my hard drive was formatted
> and I lost all my personal data.

yes (subject to previous CAUTION and caveat), you need to follow my
earlier explained path to recover your data:

-reformat to a win file system
-install windows
-restore your personal data from the latest full, off-machine backup
-install openSUSE, being careful to not repeat the error made earlier

> Also
> on sysinfo it says /boot is only 67.8 MB meaning the other 250 GB of
> hard drive must be there somewhere but it is not showing up when I am
> regularly using opensuse.

WAIT: this i do not understand…when you say “on sysinfo” what do you
mean? do you click on the “My Computer” icon, or what? can you take a
screen shot (press Print Screen) and upload that to (for example)
http://www.imagebam.com/ and post the link here!

hmmmmm! your 67 MB is not enough to swat a fly…and, anyway i don’t
know why you have a /boot partition…perhaps that is the way LVM sets
up, i do not know…

why did you select LVM anyway?

and, go back to the command line and issue these commands then copy
paste them here…


df -h
df --print-type
mount
cat /etc/fstab
sudo /sbin/fdisk -l           < lower case L, not number 1

but, before you click to send the pasted on to the forum, please
highlight all the output and then click the forum posting “#” button
above the text window, to place the entire output inside code tags…

i’m afraid i won’t see anything to change my opinion that you killed
your Win, but maybe there is another reason only 67.8 is
showing…(and that might be the way LVM works…)


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

Here is the link to the picture:ImageBam - Fast, Free Image Hosting and Photo Sharing

Also here is the code I got back:

ravi@linux-979u:~> df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/system-root
                       20G  3.3G   16G  18% /
devtmpfs              1.5G  256K  1.5G   1% /dev
tmpfs                 1.5G  4.0K  1.5G   1% /dev/shm
/dev/sda1              68M   28M   38M  43% /boot
/dev/mapper/system-home
                       25G  256M   24G   2% /home
ravi@linux-979u:~> df --printtype
df: unrecognized option '--printtype'
Try `df --help' for more information.
ravi@linux-979u:~&gt; df --print-type
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/mapper/system-root
              ext4    20642428   3434228  16159624  18% /
devtmpfs  devtmpfs     1539176       256   1538920   1% /dev
tmpfs        tmpfs     1540620         4   1540616   1% /dev/shm
/dev/sda1     ext4       69410     27918     37908  43% /boot
/dev/mapper/system-home
              ext4    25803068    262112  24230236   2% /home
ravi@linux-979u:~&gt; mount
/dev/mapper/system-root on / type ext4 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,mode=1777)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda1 on /boot type ext4 (rw,acl,user_xattr)
/dev/mapper/system-home on /home type ext4 (rw,acl,user_xattr)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
ravi@linux-979u:~&gt; cat /etc/fstab
/dev/system/root     /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-FUJITSU_MHY2250BH_K41LT852CUKE-part1 /boot                ext4       acl,user_xattr        1 2
/dev/system/swap     swap                 swap       defaults              0 0
/dev/system/home     /home                ext4       acl,user_xattr        1 2
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0                                                                                                      
debugfs              /sys/kernel/debug    debugfs    noauto                0 0                                                                                                      
usbfs                /proc/bus/usb        usbfs      noauto                0 0                                                                                                      
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0                                                                                                      
ravi@linux-979u:~&gt; sudo /sbin/fdisk -l
root's password:                                                                                                                                                                    
                                                                                                                                                                                    
Disk /dev/sda: 250.1 GB, 250059350016 bytes                                                                                                                                         
255 heads, 63 sectors/track, 30401 cylinders                                                                                                                                        
Units = cylinders of 16065 * 512 = 8225280 bytes                                                                                                                                    
Sector size (logical/physical): 512 bytes / 512 bytes                                                                                                                               
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                                                                   
Disk identifier: 0xfa790449                                                                                                                                                         

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          10       71680   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              10       30402   244125696   8e  Linux LVM

Disk /dev/dm-0: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

There ain’t no windows there.
And it’s horribly messy.

Guess you need to re-install winders and restore your personal files from your backup (assuming you need winders?)

ok can you explain why I only have 70 MB of disk space, though?

You have a 250GB HD
It’s only /boot partition that is 70MB
Which seems to separate from the LVM setup, hence it has a mount entry in /etc/fstab
But I don’t know much about LVM

But all the disk and space is there, but you nuked windows for sure.

ok thanks for the help everyone. That’s definitely the last time i’m going to use lvm.