| Autor | Nachricht | 
  
    |  | 
        
          |   | Titel: how to: chainload for dual boot?  Verfasst am: 11.07.2006, 23:29 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 02. Jul 2006
 Beiträge: 15
 Wohnort: North Central Florida\USA
 
 |  | 
        
          | Hello, 
 Installed XP on it's own partition then installed kanotix. Now only Kanootix loads. It loads so quickly, even if there was an option to select XP, I can not see it.
 
 I heard mention of 'chainloader' and looked in the grub folder and found this at the bottom of 'menu.1st.'
 title Windows 2K/XP/2003 (hda1)
 chainloader (hd0,0)+1
 title Windows 95/98/ME (hda3)
 root (hd0,2)
 makeactive
 chainloader +1
 
 Can this be edited to allow a selection at boot?
 
 Thanks,
 janice21475
 Doing 'baby steps.'
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 11.07.2006, 23:53 Uhr |  | 
  
    | 
        
          | 
  
 Anmeldung: 24. Jun 2006
 Beiträge: 27
 Wohnort: Canvey Island
 
 |  | 
        
          | Now I'm no expert but I think the file you need to be looking at is in /boot/grub/ and is called menu.lst 
 at the bottom of the file I have an entry like
 
 ### END DEBIAN AUTOMAGIC KERNELS LIST
 title Windows 2K/XP/2003 (sdb1)
 chainloader (hd1,0)+1
 
 You need to edit this with the correct HDD settings.
 
 max
 |  
          | _________________
 # cd /pub
 # more beer
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel: Re: how to: chainload for dual boot?  Verfasst am: 12.07.2006, 00:44 Uhr |  | 
  
    | 
        
          | Team Member 
  
  
 Anmeldung: 17. Dez 2003
 Beiträge: 1109
 Wohnort: Ganymede
 
 |  | 
        
          | janice21475 hat folgendes geschrieben:: 
 Can this be edited to allow a selection at boot?
 
 Thanks,
 janice21475
 Doing 'baby steps.'
 
 Sure, just set the timeout in /boot/grub/menu.lst
 This section:
 
 Code: 
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
 # (normally the first entry defined).
 timeout      5
 Of course you must edit that file as root.
 If you add a chainloader section for winxp do it either BEFORE or AFTER the automagic kernel list.  I usually put a WIndows entry after this line:
 
 Code: 
### END DEBIAN AUTOMAGIC KERNELS LIST
 This way it will never change when GRUB is updated.
 |  
          | _________________
 Ubuntu - An ancient African word for "Can't install Debian"
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel: RE: Re: how to: chainload for dual boot?  Verfasst am: 12.07.2006, 01:06 Uhr |  | 
  
    | 
        
          | Team Member 
  
  
 Anmeldung: 03. Mai 2005
 Beiträge: 1544
 Wohnort: out there somewhere
 
 |  | 
        
          | Part of my grub: 
 ## ## End Default Options ##
 
 timeout 35
 
 title		Kanotix
 root		(hd0,11)
 kernel		/boot/vmlinuz root=/dev/hda12 ro ramdisk_size=100000 lang=us apm=power-off nomce vga=791
 initrd		/boot/initrd.img
 boot
 
 title		Utopian
 root		(hd0,12)
 kernel		/boot/vmlinuz root=/dev/hda13 ro ramdisk_size=100000 lang=us apm=power-off nomce vga=0x31A
 initrd		/boot/initrd.img
 boot
 ### END DEBIAN AUTOMAGIC KERNELS LIST
 title Windows XP
 chainloader (hd0,0)+1
 
 
 Adding "timeout 35" can slow it down so you can read it
  adjust it if you want |  
          | _________________
 h2's d-u script
 h2's rdiff-backup script
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel: Re: RE: Re: how to: chainload for dual boot?  Verfasst am: 12.07.2006, 06:00 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 02. Jul 2006
 Beiträge: 15
 Wohnort: North Central Florida\USA
 
 |  | 
        
          | piper hat folgendes geschrieben:: 
. . . .  Adding "timeout 35" can slow it down so you can read it    adjust it if you want
 Hi piper,
 
 Increasing the 'timeout' was all it took. I may to the 'chainload' but at this point it is no longer necessary. Actually, I really don''t know what to expect if I should use it?
 
 I am loving this OS more every time I boot into it.
 
 To all of you who replied,  thanks for the help!
 
 Cheers,
 janice21475
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 12.07.2006, 07:46 Uhr |  | 
  
    | 
        
          | 
  
 Anmeldung: 02. Mai 2004
 Beiträge: 471
 Wohnort: Portland, OR, USA
 
 |  | 
        
          | Fedora uses 
 Code: 
title Microsoft Windows 2000
rootnoverify (hd0,0)
 chainloader +1
 and Kanotix/Debian uses the GRUB commands others have posted above.
 
 "rootnoverify" tells GRUB, "Don't mount this partition." (With Linux, GRUB evidently mounts boot partitions before passing boot parameters to the OS.) "chainloader" means, "Hand off control to Microsoft's boot loader.". And "+1" means that GRUB looks for Windows' boot loader on the first sector of the Windows partition.
 
 All this assumes that Windows is on the first partition of the first hard drive, hd(0,0) in GRUB-speak. If it's not, things are a bit more complicated.
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 12.07.2006, 14:45 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 02. Jul 2006
 Beiträge: 15
 Wohnort: North Central Florida\USA
 
 |  | 
        
          | eco2geek hat folgendes geschrieben:: 
Fedora uses
 Code: 
title Microsoft Windows 2000
rootnoverify (hd0,0)
 chainloader +1
 
and Kanotix/Debian uses the GRUB commands others have posted above.
 
"rootnoverify" tells GRUB, "Don't mount this partition." (With Linux, GRUB evidently mounts boot partitions before passing boot parameters to the OS.) "chainloader" means, "Hand off control to Microsoft's boot loader.". And "+1" means that GRUB looks for Windows' boot loader on the first sector of the Windows partition.
 
All this assumes that Windows is on the first partition of the first hard drive, hd(0,0) in GRUB-speak. If it's not, things are a bit more complicated.
 Hello eco2geek,
 
 Thanks for a further explanation. It is just a bit above my understanding, at the moment, but as I keep reading and doing I am sure things will fall into place.
 
 I  don't know if this is harder or easier than when I first got into computing (Win 3.1). Guess it is easier since I have the experience I do have. I really need to get all the new commands and file names straight in my head. That, plus, all the new program names has this old gal very busy learning. I haven't had as much fun since I started learning to write HTML.
 
 regards,
 janice21475
 a new linux supporter
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 14.07.2006, 01:19 Uhr |  | 
  
    | 
        
          | 
  
 Anmeldung: 24. Mai 2005
 Beiträge: 354
 Wohnort: Nashville
 
 |  | 
        
          | eco wrote: 
 Zitat: 
"rootnoverify" tells GRUB, "Don't mount this partition." (With Linux, GRUB evidently mounts boot partitions before passing boot parameters to the OS.) "chainloader" means, "Hand off control to Microsoft's boot loader.". And "+1" means that GRUB looks for Windows' boot loader on the first sector of the Windows partition. 
 Thank you for a simple and clear explanation.  I don't dual boot but I have wondered what "rootnoverify" and "chainloader" and "+1" meant.
 |  
          | _________________
 Debian Social Contract
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel: Tell Grub to chainload LiLo  Verfasst am: 30.08.2006, 18:33 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 07. Jan 2006
 Beiträge: 23
 
 
 |  | 
        
          | Hi I have a triple-OS-System (XP(hda1),Kanotix(hda6),Knoppmyth(hda10)). I have Grub in my MBR and want to chainload to LiLo on hda10
 
 In my menu.lst
 
 Zitat: 
title KnoppMyth
 chainloader (hd0,9)+1
 this gives me an Error 13 on choosing this Entry on boot
 
 Zitat: 
Error 13: Invalid or unsupported executable format
 
 is it the +1 that's wrong or should i check if lilo really was installed in / of hda10?
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel: RE: Tell Grub to chainload LiLo  Verfasst am: 30.08.2006, 19:59 Uhr |  | 
  
    | 
        
          | Team Member 
  
  
 Anmeldung: 03. Mai 2005
 Beiträge: 1544
 Wohnort: out there somewhere
 
 |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 30.08.2006, 20:54 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 07. Jan 2006
 Beiträge: 23
 
 
 |  | 
        
          | Zitat: 
title KnoppMyth
 chainloader (hd0,11)+1
 
 gives
 
 Zitat: 
Error 22: No such partition
 which makes sense, because there is no hda11 and (hd0,9) should correspond to hda10
 more hints?
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 30.08.2006, 21:06 Uhr |  | 
  
    | 
        
          | Team Member 
  
  
 Anmeldung: 03. Mai 2005
 Beiträge: 1544
 Wohnort: out there somewhere
 
 |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 30.08.2006, 21:28 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 07. Jan 2006
 Beiträge: 23
 
 
 |  | 
        
          | yeah, but if i am right /dev/hda10 corresponds to (hd0,9) in Grub-Code ... here is my menu.lst. with the second "title entry" i start KnoppMyth directly frim GRUB, but i need a chainload ...
 
 Zitat: 
# Deutsche Tastaturbelegung
 
 setkey y z
 setkey z y
 setkey Y Z
 setkey Z Y
 setkey equal parenright
 setkey parenright parenleft
 setkey parenleft asterisk
 setkey doublequote at
 setkey plus bracketright
 setkey minus slash
 setkey slash ampersand
 setkey ampersand percent
 setkey percent caret
 setkey underscore question
 setkey question underscore
 setkey semicolon less
 setkey less numbersign
 setkey numbersign backslash
 setkey colon greater
 setkey greater bar
 setkey asterisk braceright
 
 default         0
 timeout         5
 color cyan/blue white/blue
 gfxmenu (hd0,5)/message
 
 title           KANOTIX, kernel 2.6.15.1-kanotix-3
 root            (hd0,5)
 kernel          /vmlinuz-2.6.15.1-kanotix-3 root=/dev/hda7 ro ramdisk_size=100000 lang=de apm=power-off nomce vga=0x317
 initrd          /initrd.img-2.6.15.1-kanotix-3
 boot
 
 title           KNOPPMYTH, kernel 2.6.17-chw-8
 root            (hd0,5)
 kernel          /vmlinuz-2.6.17-chw-8 root=/dev/hda10 ro ramdisk_size=100000 lang=de apm=power-off nomce vga=0x317 splash=silent
 initrd          /initrd.splash
 boot
 
 ### END DEBIAN AUTOMAGIC KERNELS LIST
 title Windows XP Professional
 chainloader (hd0,0)+1
 
 title KnoppMyth
 chainloader (hd0,11)+1
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 30.08.2006, 22:04 Uhr |  | 
  
    | 
        
          | Team Member 
  
  
 Anmeldung: 03. Mai 2005
 Beiträge: 1544
 Wohnort: out there somewhere
 
 |  | 
        
          | Very confusing to me 
 title KNOPPMYTH, kernel 2.6.17-chw-8
 root (hd0,5)
 
 What is that ?????
 
 -----------------------
 
 title KnoppMyth
 chainloader (hd0,11)+1
 
 Is this different than above ??????
 
 I am confused with this
 
 If so try putting it above  ### END DEBIAN AUTOMAGIC KERNELS LIST
 
 KnoppMyth is what,  a Microsoft Media Center  clone
 |  
          | _________________
 h2's d-u script
 h2's rdiff-backup script
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 31.08.2006, 09:29 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 09. Jan 2006
 Beiträge: 1720
 
 
 |  | 
        
          | fdisk -l will bring light to the sceene. all aother is guessing. 
 a Chainloder for hda10 kann only used with an other grub in msr of had10
 I think this grub is missing. so no need for an extra chainloader.
 
 Here his problem:
 
 title KNOPPMYTH, kernel 2.6.17-chw-8
 root (hd0,5)
 kernel /vmlinuz-2.6.17-chw-8 root=/dev/hda10 ro ramdisk_size=100000 lang=de apm=power-off nomce vga=0x317 splash=silent
 initrd /initrd.splash
 boot
 
 ### END DEBIAN AUTOMAGIC KERNELS LIST
 title Windows XP Professional
 chainloader (hd0,0)+1
 
 title KnoppMyth
 chainloader (hd0,11)+1
 ####### end of faullty grub.menu
 
 here his soluttion:
 
 title KNOPPMYTH, kernel 2.6.17-chw-8
 root (hd0,5)
 kernel /vmlinuz-2.6.17-chw-8 root=/dev/hda10 ro ramdisk_size=100000 lang=de apm=power-off nomce vga=0x317 splash=silent
 initrd /initrd.splash
 boot
 
 ### END DEBIAN AUTOMAGIC KERNELS LIST
 title Windows XP Professional
 chainloader (hd0,0)+1
 ######## end of grub.menu
 
 Since his KnoppMyhth is a Found @ KNOPPMYTH. This is a korrekt booting entry.
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 31.08.2006, 10:34 Uhr |  | 
  
    | 
        
          | Team Member 
  
  
 Anmeldung: 03. Mai 2005
 Beiträge: 1544
 Wohnort: out there somewhere
 
 |  | 
        
          | Pretty much what I said in english,  except the fdisk -l part, solution, and why I said confused. (asking about both KNOPPMYTH) 
 schnorrer
 
 Ich verstehe nicht
 Entschuldigen Sie mein schlechtes Deutsch
 Sprechen Sie Englisch?
 |  
          | _________________
 h2's d-u script
 h2's rdiff-backup script
 |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 01.09.2006, 13:04 Uhr |  | 
  
    | 
        
          | 
 
 Anmeldung: 07. Jan 2006
 Beiträge: 23
 
 
 |  | 
        
          | KnoppMyth is a MythTV-System (i think it existed before MCE was invented) based on Knoppix. It features a Live-CD with usable Frontend (Clients) and an Install-Script for Backends and Frontends. 
 
 Zitat: 
title KNOPPMYTH, kernel 2.6.17-chw-8
 root (hd0,5)
 
 What is that ?????
 
 ahh, you're right, it is confusing. i have got a seperate /boot partition hda6. to get GRUB in MBR to boot KnoppMyth i have copied the kernel and initrd from Knoppmyth's /boot on hda10 to hda6.
 
 @schnorrer
 
 Zitat: 
so no need for an extra chainloader. 
 trying fdisk -l later ...
 do you mean that i can only chainload to GRUB if the system is on hda10 and not to LiLo?
 I want to chainload to LiLo which was installed in MSR of hda10. Why? Because LiLo is already configured for suspend2, bootsplash etc. and it would make updates of Knoppmyth much more easier, because i could leave my Grub config in MBR as it is and a Kanotix Automatic-Kernel-Update (Update-Gui) would not mess it all up again.
 
 thanks
 
 chris
 |  
          |  |  
         
	        |  |  | 
  
    |  | 
  
    |  | 
  
    |  | 
        
					| Titel:  Verfasst am: 01.09.2006, 13:59 Uhr |  | 
  
    | 
        
          | Team Member 
  
  
 Anmeldung: 03. Mai 2005
 Beiträge: 1544
 Wohnort: out there somewhere
 
 |  |  | 
  
    |  | 
  
    |  | 
  
  
    |  |