LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07:05 PM   #16
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589

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 07:22 PM.
 
Old 04-11-2011, 06: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



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

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

All times are GMT -5. The time now is 11:07 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
Open Source Consulting | Domain Registration