LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2011, 04:06 AM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,390
Blog Entries: 7

Rep: Reputation: 164Reputation: 164
boot partition wont boot my distro from logicle partition


hello, ive already, setup a separate boot partition with grub legacy on sda1, and i know it's fine because it worked previously. ive just removed my two previously,running distros which were on primary partitions to reinstall them onto logicle partitions. i've just done one reinstall and changed grub to look in the apropriate partition (sda7) and it doesn't proceed to boot into the distros bootloader, (grub2). i encounter this
Quote:
root (hd0,7)
file system type is ext2fs, partition type 0x83
chainloader +1

error 13 invalid or unsupported executable format
 
Old 08-24-2011, 11:20 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
If you are booting from a system with Grub Legacy to a system with Grub2 you may need a different entry. Grub Legacy counts drives and partitions from zero so with the entry you show, you would be trying to boot sda8. So change the entry to root (hd0,6). If that doesn't work, post back with fdisk -l output.
 
Old 08-24-2011, 04:10 PM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,390
Blog Entries: 7

Original Poster
Rep: Reputation: 164Reputation: 164
hello, i made entry from hd0,1 up to hd0,9, just incase i had a,misunderstanding. none would boot.
on another note, i installed mint on sda3, (hd0,2) onto a primary partition and it boots. heres the kick, when it boots, it boots into grub2 and i can boot into the other distro from there. so the data is there and functional, just how do i boot it correctly.

p.s.
fdisk -l coming soon
 
Old 08-24-2011, 04:50 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
What were the entries your tried? Did you use the chainloader entry?
Have you installed Mint since your first post?
Was it on the system previously and booting?
Booting from? its' Grub2 in the mbr? Grub Legacy from another system?
Your last post seems to indicate you have installed Mint with its Grub2 bootloader to the mbr and you are now able to boot Mint and your other unknown Linux distribution. Is that correct? If so, what do you want to change?
 
Old 08-24-2011, 05:06 PM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,390
Blog Entries: 7

Original Poster
Rep: Reputation: 164Reputation: 164
Yes mint was installed after making the first post. The system was previously booting Slackware and debian. the distro that is not loading is Debian. Here is my partitions, i have a boot partition with grub legacy. then then the extended partition, with swap, data, debian, and freespace reserved for Slackware. Then after that, the next primary partition has mint.
fdisk -l
Quote:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x285cefb4

Device Boot Start End Blocks Id System
/dev/sda1 1 89 713868+ 83 Linux
/dev/sda2 90 16016 127927297 5 Extended
/dev/sda3 * 16016 19458 27646976 83 Linux
/dev/sda5 90 819 5858304 82 Linux swap / Solaris
/dev/sda6 819 11153 83006464 83 Linux
/dev/sda7 11153 13584 19529728 83 Linux
/dev/sda8 13584 16016 19529728 83 Linux
Here is my menu.lst from my boot partition with grub legacy.
Quote:
# Entries for each distro
title unknown
root (hd0,1)
chainloader +1

title unknown0
root (hd0,2)
chainloader +1


title unknown1
root (hd0,3)
chainloader +1

title unknown2
root (hd0,4)
chainloader +1

title unknown3
root (hd0,5)
chainloader +1

title unknown4
root (hd0,6)
chainloader +1

title unknown5
root (hd0,7)
chainloader +1

title unknown6
root (hd0,8)
chainloader +1

title unknown7
root (hd0,9)
chainloader +1
 
Old 08-24-2011, 07:44 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Your boot device has changed from sda1 or sda2 to sda3.
sda3 is not the logical device, sda2 is & most likely sda1 or sda6 was your boot partition. I would lean more to sda1 actually being boot.
Also sda8 is beyond grubs 128G reading ability.

Last edited by EDDY1; 08-24-2011 at 07:50 PM.
 
Old 08-24-2011, 07:59 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
hello, i made entry from hd0,1 up to hd0,9, just incase i had a,misunderstanding. none would boot.
on another note, i installed mint on sda3, (hd0,2) onto a primary partition and it boots. heres the kick, when it boots, it boots into grub2 and i can boot into the other distro from there. so the data is there and functional, just how do i boot it correctly.
If you can boot into debian run grub-update & give it control.
If not you'll have to do a grub rescue, might as well install grub-pc to sda

Last edited by EDDY1; 08-24-2011 at 08:04 PM.
 
Old 08-24-2011, 09:07 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
If you installed Mint it is highly likely that it installed to the master boot record as that is the default unless you specifically changed it during the installation. That would be why you see the Grub2 menu when you boot. You say you can then boot into the other system (Debian??) which is because the Grub2 install detected it. I'm not really sure what your problem is. You can boot Mint and Debian and you haven't reinstalled Slackware. Mint was your last install and it uses Grub2. I'm really not sure what "boot it correctly" means to you.

From the information you have posted, I would tend to believe your /boot partition is not used at all. I'm really not sure what your intentions are?
 
Old 08-25-2011, 03:50 AM   #9
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,390
Blog Entries: 7

Original Poster
Rep: Reputation: 164Reputation: 164
no, it did not install to the mbr, i told it to install to root. my booting process goes as follow.
turn computer on,
bios displays computer brand
grub legacy boots with all entries from previous list.
i select unknown0 (mimt)
grub2 loads, displaying mint, debian and the other normal things.
if i do nothing, mint loads.

@eddy
even if the devices have changed, one of them entrys in the menu.lst should still boot it, also im not sure it has changed. my fault, i dont think i explained my self well enough, i had debian and slackware on my system previously running, but were installed on primary partitions. i completly removed them, then installed them again onto logicle partitions.

hey im starting to wonder if during the debian install, i installed grub2 to its root or if i axidently installed it to another partition. it has a /boot folder with stuff in it but not sure if that means grubs on it

Last edited by Knightron; 08-25-2011 at 03:54 AM. Reason: wasn't clear enough for my satisfaction
 
  


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
[SOLVED] XP & Vista partition wont boot after installing Ubuntu 11.04 beta bheemamahesh Linux - Newbie 32 07-11-2011 08:31 PM
Multi Distro Boot Partition seekermeister Linux From Scratch 8 04-19-2007 07:17 PM
Root partition is full again wont boot ? dolphans1 Mandriva 6 01-17-2006 05:32 PM
LILO wont boot WinXP NTFS partition cirkut5732 Linux - Newbie 1 10-24-2003 08:06 PM
Red Hat 8 Wont Boot - Partition Problem Heymish Linux - Software 1 02-11-2003 05:07 PM


All times are GMT -5. The time now is 02:49 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