LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-10-2011, 08:05 PM   #16
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,220

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319

Put this entry in /etc/grub.d/40_custom, run update-grub and hope for the best


Quote:
menuentry "BackTrack (on /dev/sda7)" {
insmod ext2
set root='(hd0,7)'
linux /boot/vmlinuz-generic-2.6.35.8 root=/dev/sda7 pci=noacpie splash=silent vga=788
initrd /boot/initrd.img-2.6.35.8
}
For reference I have grub legacy in my MBR from which I boot Slackware and chainload to grub2 to boot Debian. This afternoon I tried booting Slackware from grub2 using the suggestions from this thread and was getting similar errors. Anyways after a little bit of tinkering this is what I came up with that works. My Slackware is installed on an ext4 partition.

To Larry Webb, some distos patch grub legacy to boot an ext4 partition and some distros do not. That is why some can boot an ext4 partition and others can not using grub legacy.

Last edited by colorpurple21859; 04-10-2011 at 08:22 PM.
 
Old 04-11-2011, 07:11 AM   #17
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by colorpurple21859 View Post
To Larry Webb, some distos patch grub legacy to boot an ext4 partition and some distros do not. That is why some can boot an ext4 partition and others can not using grub legacy.
Thanks I knew that Suse and a couple of others did that and just was not thinking.

To the OP - my remarks in post #9 were aimed at post #7 and none at you.
 
  


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
BackTrack / Grub2 ISO Boot felix001 Ubuntu 4 02-17-2011 05:53 AM
How to add entry to GRUB2 with 2 hard disks rhklinux Linux - Newbie 3 06-08-2010 07:26 AM
How do I need to format grub entry to boot from grub2 into grub legacy? mitchell7man Linux - Software 6 04-03-2010 04:03 AM
Adding a menu entry to grub2 Jeff91 Linux - General 1 08-28-2009 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:51 PM.

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