LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-29-2009, 12:08 PM   #1
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Rep: Reputation: 31
Dual Boot


I bought a new PC that had Vista on a 320 G HDD. I installed Suse 11.1 as I had before on my old box but Windows won't boot up this time. What is wrong or what needs to be added to "menu. lst" ?


# Modified by YaST2. Last modification on Wed Apr 29 09:29:04 PDT 2009
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1 - 2.6.27.21-0.1
root (hd0,5)
kernel /boot/vmlinuz-2.6.27.21-0.1-pae root=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part6 resume=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part5 splash=silent showopts vga=0x317
initrd /boot/initrd-2.6.27.21-0.1-pae

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1 - 2.6.27.21-0.1
root (hd0,5)
kernel /boot/vmlinuz-2.6.27.21-0.1-pae root=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part6 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd-2.6.27.21-0.1-pae

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,0)
chainloader +1
 
Old 04-29-2009, 03:43 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,400

Rep: Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704
You might have a rescue partition on the first partition. Run fdisk -l command to see what is on the first partition and where your ntfs paratition(s) are or post that information here.
 
Old 04-30-2009, 12:09 PM   #3
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c4455cc

Device Boot Start End Blocks Id System
/dev/sda1 1 1306 10485760 27 Unknown
/dev/sda2 1306 32437 250063418+ 7 HPFS/NTFS
/dev/sda3 * 32438 38913 52018470 f W95 Ext'd (LBA)
/dev/sda5 32438 32699 2104483+ 82 Linux swap / Solaris
/dev/sda6 32700 35201 20097283+ 83 Linux
/dev/sda7 35202 38913 29816608+ 83 Linux
-----------------------------------------------------------------------------------------
# Modified by YaST2. Last modification on Thu Apr 30 02:14:24 PDT 2009
default 0
timeout 8
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1
root (hd0,5)
kernel /boot/vmlinuz-2.6.27.7-9-pae root=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part6 resume=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part5 splash=silent showopts vga=0x348
initrd /boot/initrd-2.6.27.7-9-pae

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1
root (hd0,5)
kernel /boot/vmlinuz-2.6.27.7-9-pae root=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part6 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x348
initrd /boot/initrd-2.6.27.7-9-pae


I can't get it to boot now. I'm on line by the "upgrade" procedure. Windows seems to be gone off the front of the disk. When I set up grub and reboot it says "no OS found".

Last edited by raysr; 04-30-2009 at 12:12 PM.
 
Old 04-30-2009, 03:15 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,400

Rep: Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704
Quote:
I can't get it to boot now
You can't boot Opensuse or windows?? Were you booting Opensuse earlier or using the Live CD? Your Grub menu.lst entry for windows is wrong. If you can't boot Opensuse, use the installation CD and load it by selecting the Rescue option on the CD so you can edit the file.

You do have a rescue partition on sda1 marked as unknown in your fdisk output and sda2 is your windows partition. Also, you have sda3 marked as active (the asterisk *) which is pointless, it is sda2 which needs to be active. When you get into Opensuse, change your windows entry to:

rootnoverify (hd0,1)
makeactive
chainloader +1


Quote:
When I set up grub and reboot it says "no OS found".
What do you mean by 'set up grub'? What happened to your window entry in the menu.lst file, or did you just not post it?
 
Old 04-30-2009, 03:32 PM   #5
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Every time I've used the rescue option it asks a question or asks to log in, I can't remember, and that's as far as I get. That was with 10.3 and 9.3, I never could get "rescue" to work because of the login or what ever.
In my last post I couldn't boot anything. I started out not being able to boot windows and screwed around until OpenSuse wouldn't boot.
-----------------------------------------------------------------------------------------------------
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c4455cc

Device Boot Start End Blocks Id System
/dev/sda1 1 1306 10485760 27 Unknown
/dev/sda2 1306 32437 250063418+ 7 HPFS/NTFS
/dev/sda3 * 32438 38913 52018470 f W95 Ext'd (LBA)
/dev/sda5 32438 32699 2104483+ 82 Linux swap / Solaris
/dev/sda6 32700 35201 20097283+ 83 Linux
/dev/sda7 35202 38913 29816608+ 83 Linux
---------------------------------------------------------------------

# Modified by YaST2. Last modification on Thu Apr 30 11:06:18 PDT 2009
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1
root (hd0,5)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part6 resume=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part5 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,1)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1
root (hd0,5)
kernel /boot/vmlinuz root=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part6 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: linux###
title Kernel-2.6.27.7-9-pae
root (hd0,5)
kernel /boot/vmlinuz-2.6.27.7-9-pae root=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part6 resume=/dev/disk/by-id/ata-WDC_WD3200AAJS-22L7A0_WD-WMAV20870479-part5 splash=silent showopts
initrd /boot/initrd-2.6.27.7-9-pae
-------------------------------------------------------------------------------------------------
It did boot a few minutes ago into Suse but I haven't tried again. Do know what the login or whatever "resue" wants? What is the last paragraph supposed to mean,(directly above this question)?

Last edited by raysr; 04-30-2009 at 03:38 PM.
 
Old 04-30-2009, 11:26 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,400

Rep: Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704
I've used Opensuse 10.3 and on its Installation CD, there are the following options:

Boot Hard Drive Installation
Install with ACPI Disabled
Install With Local APIC Disabled
Install With Safe Settings
Rescue System

If you have these, select Rescue, you will get "Rescue Login" prompt, enter 'root', hit the Enter key, get another prompt like "Rescue#", enter commands there. If you don't have the above menu, you should have something similar.

There are three entries for Opensuse, the standard, the failsafe and the third one, well don't actually know but the 'pae' part has some significance, I think. You probably won't have any need to use it. If you can get to this file through Rescue or whatever, be sure to put 'makeactive' in the windows entry in menu.lst, you can also change the title to vista or whatever you want.
 
Old 05-01-2009, 12:32 AM   #7
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
After entering "root" what "commands" are used? Thanks for the help. I'll give it a try.

To the admin, out of 571 posts I've never thanked anyone??? That's bullshit, you can't count.

Last edited by raysr; 05-01-2009 at 12:39 AM.
 
Old 05-01-2009, 01:15 AM   #8
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
I'm booting OK into Suse but I've lost Windows.
 
Old 05-01-2009, 10:08 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,400

Rep: Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704
Your last post with the windows /boot/grub/menu.lst needs to be changed to:

rootnoverify (hd0,1)
makeactive
chainloader +1

For some reason you have sda3 marked active/bootable indicated by the asterisk. That doesn't do anything. The windows needs to be marked active and the above entry should do the trick.

You can boot into Opensuse now so open the /boot/grub/menu.lst file in the text editor of your choice (Kwrite, Kate, etc.) and modify the entry for windows as indicated above.
 
Old 05-01-2009, 01:29 PM   #10
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Thanks so much for walking me through this. I have Windows back and OpenSuse.
 
Old 05-02-2009, 12:45 AM   #11
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
I shut the computer down and it automatically went into Windows. No grub. I ran the the Suse "repair system" off the CD and got Suse back but no windows. I tired of messing with it.
 
Old 05-04-2009, 06:58 AM   #12
Peverel
Member
 
Registered: May 2009
Location: Chelmsford, England
Distribution: OpenSuse 12.2 and 13.2, Leap 4.2
Posts: 125

Rep: Reputation: 24
I've had this problem; unlike the installation process, which picks up all windows partitions, whether bootable or not, and all bootable Linux partitions, the rescue disk only sets Linux and Linux Failsafe for the Linux installation you are rescuing; all others you have to set by hand. You can do this most easily from Yast.
Boot Suse and then find Yast from the menu (you will need root password); select system, then Boot Loader. Your Grub entries are now displayed; there will be two lines.
Press the add button; from the next screen select chainloader, then press next.
Now enter Windows as the section name and select your boot partition from the list box at bottom left; this should be sda2. Check do not verify file system before booting. The help button at bottom left tells you what the other buttons mean; they are probably irrelevant. Now OK; you should have added a line like this:


Windows other blockoffset=1, chainloader=/dev/sda2, noverify=true, root=

and you are done. (You may have to save the configuration, I forget. Anyway, there is an offer of help at each stage.
 
Old 05-04-2009, 11:59 AM   #13
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
###Don't change this comment - YaST2 identifier: Original name: windows###
title windows 1
rootnoverify (hd0,6)
chainloader (hd0,1)+1


I changed my windows dialog to the above and now it works fine. It's amazing how subtle a change could make that much difference. Thanks for the reply.
 
  


Reply


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
My FC6 / XP dual boot to FC10 / XP dual boot upgrade plan... is this sane? rylan76 Fedora - Installation 6 02-03-2009 07:31 AM
Dual linux boot and dual windows boot together? Stuart36 Linux - General 8 05-01-2007 11:53 PM
Installing dual Boot 98/Linux - WONT 'LILO' Dual Boot !? L1nux3d Linux - Laptop and Netbook 15 02-11-2006 05:36 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration