Fedora Linux Support Community & Resources Center
  #1  
Old 17th February 2010, 12:47 AM
blackpearl Offline
Registered User
 
Join Date: Feb 2010
Posts: 2
linuxdebianmozilla
Thumbs up [SOLVED]problem dual booting lenny and fedora 12 menu.lst

hello everybody
i had recently installed fedora 12 in a system running debian lenny in (hd0,0), its grub is installed in mbr and the grub of fedora is installed in the installation partition of fedora .I defined a separate partition /boot for debian but for fedora i used the available space for boot swap and /.
i booted with live cd to copy the grub.conf of the fedora to add it into menu.lst of debian but i have got "error 15 : file not found".i need hel and i will be thunkfull (sorry for my english mistakes -3 rd language)

this is my menu.lst


Code:
title		Debian GNU/Linux, kernel 2.6.26-2-686
root		(hd0,0)
kernel		/vmlinuz-2.6.26-2-686 root=/dev/sda8 ro quiet
initrd		/initrd.img-2.6.26-2-686

title		Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root		(hd0,0)
kernel		/vmlinuz-2.6.26-2-686 root=/dev/sda8 ro single
initrd		/initrd.img-2.6.26-2-686


title Fedora (2.6.31.5-127.fc12.i686.PAE)
	root (hd0,8)
	kernel /boot/vmlinuz-2.6.31.5-127.fc12.i686.PAE ro root=UUID=d6a1b08d-156c-47d0-bf70-3e63731da995  LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr rhgb quiet
	initrd /boot/initramfs-2.6.31.5-127.fc12.i686.PAE.img
these are the result of commands like df -h ; fdisk -l and so on


[code
]Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x127f7bec

Device Boot Start End Blocks Id System
/dev/sda1 1 36 289138+ 83 Linux
/dev/sda2 37 19451 155950987+ f W95 Ext'd (LBA)
/dev/sda5 6375 12748 51199123+ 7 HPFS/NTFS
/dev/sda6 12749 19451 53841816 7 HPFS/NTFS
/dev/sda7 37 97 489919+ 82 Linux swap / Solaris
/dev/sda8 98 3209 24997108+ 83 Linux
/dev/sda9 * 3210 6374 25422847+ 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 4007 MB, 4007657472 bytes
124 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1018 3913161 c W95 FAT32 (LBA)






/dev/sda1: UUID="90ab3a54-3fc8-4faa-beee-0da542eb91e7" TYPE="ext3"
/dev/sda5: UUID="EC1C041A1C03DF08" LABEL=" Revolutionario" TYPE="ntfs"
/dev/sda6: UUID="74C40DFEC40DC2FA" LABEL="Guevara" TYPE="ntfs"
/dev/sda7: TYPE="swap"
/dev/sda8: LABEL="ErvestoGuevara" UUID="a4cbe516-1dc6-460b-a444-49eeeffc4a57" TYPE="ext3"
/dev/sda9: UUID="d6a1b08d-156c-47d0-bf70-3e63731da995" TYPE="ext4"
/dev/sdb1: UUID="CDA0-745E" TYPE="vfat"


Me# cat /etc/fstab

# <file system> <mount point> <type> <options> <dump> <pass>

proc /proc proc defaults 0 0
/dev/sda8 / ext3 errors=remount-ro 0 1
/dev/sda1 /boot ext3 defaults 0 2
/dev/sda6 /media/Guevara ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sda5 /media/Revolutionario ntfs defaults,nls=utf8,umask=0222 0 0
/dev/sda9 /media/sda9 ext4 defaults 0 0
/dev/sda7 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hda /media/cdrom1 udf,iso9660 user,noauto 0 0





Filesystem Size Used Avail Use% Mounted on
/dev/sda8 24G 7.1G 16G 32% /
tmpfs 252M 0 252M 0% /lib/init/rw
udev 10M 836K 9.2M 9% /dev
tmpfs 252M 0 252M 0% /dev/shm
/dev/sda1 274M 25M 235M 10% /boot
/dev/sda6 52G 52G 90M 100% /media/Guevara
/dev/sda5 49G 49G 81M 100% /media/Revolutionario
/dev/sdb1 3.8G 3.6G 149M 97% /media/disk
/dev/sr0 3.0G 3.0G 0 100% /media/cdrom0
[/code]

Last edited by blackpearl; 17th February 2010 at 02:46 PM.
Reply With Quote
  #2  
Old 17th February 2010, 01:49 AM
kyryder
Guest
 
Posts: n/a
linuxfedorafirefox
Hello and Welcome to FedoraForum.org ,

I have found it easier to boot multiple OS's using a chainloader in menu.lst. If you use a chainloader you won't have to do any of the copy/past. The syntax for a chainloader looks like this :

Code:
title Fedora 12 (sda8)
	chainloader (hd0,7)+1
Hope this helps,

Ky

Last edited by kyryder; 17th February 2010 at 02:07 AM.
Reply With Quote
  #3  
Old 17th February 2010, 02:41 PM
blackpearl Offline
Registered User
 
Join Date: Feb 2010
Posts: 2
linuxfedorafirefox
thank you so much
it did work i am using fedora now
it was so helpfull
it was so simple and so easy that i didn't believe
i puted these tow lines into menu.lst of my debian lenny

Code:
title Fedora 12 (sda9)
	chainloader (hd0,8)+1
with changing sda8 with sda9 and (hd0,7)+1 with (hd0,8)+1 since i have installed fedora on sda9 not sda8. .

if i am thinking correctly , if i install on sda9 i have to change (hd0,7) with hd0,8)

Note: I think this method won't work if i didn't install fedora's grub on its root partition or if i created a separate /boot partition ?

thank you so much kyryder for your precious help.

Reply With Quote
  #4  
Old 17th February 2010, 03:42 PM
kyryder
Guest
 
Posts: n/a
linuxfedorafirefox
Congratulations, I am glad you where able to make it work!

Yes you are right, the chainloader method will only work if you put grub in the same partition as the new OS.

The reason I thought Fedora was on sda8 was the output from fdisk -l shows that your boot partitions is sda9 /dev/sda9 * 3210 6374 25422847+ 83 Linux with the "*" so I wrongly thought it was lenny's grub.

Just so you know for the future, in the title line the "(sda?)" and in the chainloader line the "+1" are not needed by grub. That is just a trick to make the lines more human readable and help keep track of what is what.

Congratulations again,


Ky

Last edited by kyryder; 17th February 2010 at 04:13 PM.
Reply With Quote
Reply

Tags
booting, dual, fedora, lenny, menulst, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem dual booting vista and fedora 11 baloghm Installation and Live Media 7 18th November 2009 09:53 PM
Problem dual booting Windows 7 and Fedora 11 Vizth Installation and Live Media 6 29th September 2009 10:40 PM
Dual booting Vista on Separate HDD - Need Menu.lst info Cindres Using Fedora 8 25th February 2009 08:16 PM
Problem dual booting Win xp and Fedora 10 Tterrag Installation and Live Media 3 16th December 2008 09:51 AM
Problem Dual-Booting Fedora 8 and Windows XP Azrael138 Installation and Live Media 1 7th December 2007 11:20 PM


Current GMT-time: 12:47 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat