[PLUG] grub issue updated

MJang mike at linuxexam.com
Mon May 30 17:59:31 UTC 2011


On Mon, 2011-05-30 at 10:08 -0700, Bruce Kilpatrick wrote:
> On 5/29/2011 3:47 PM, MJang wrote:
> > On Sun, 2011-05-29 at 09:52 -0700, Bruce Kilpatrick wrote:
> >> On 05/26/2011 07:25 PM, Derek Loree wrote:
> >>> On Thu, 2011-05-26 at 08:01 -0700, Michael Ewan wrote:
> >>>> On 5/25/2011 7:30 PM, Bruce Kilpatrick wrote:
> >>>>> On 05/24/2011 07:32 PM, MJang wrote:
> >>>>>> On Tue, 2011-05-24 at 17:01 -0700, Bruce Kilpatrick wrote:
> >>>>>>> This should be a simple Google search, but I must not be using the
> >>>>>>> correct syntax.
> >>>>>>>
> >>>>>>> I was dual booting WinXP and Fedora 14.  I decided to install Debian 6
> >>>>>>> to a blank partition.  When all was said and done, I rebooted and, to my
> >>>>>>> surprise, no Debian in the boot menu.  I think Fedora uses Grub and
> >>>>>>> Debian uses Grub2.
> >>>>>>>
> >>>>>>> Can someone point me to something that will help me sort this out.
> >>>>>> While I like the Ubuntu documentation on the subject
> >>>>>> (https://help.ubuntu.com/community/Grub2 ), I've stuck with GRUB 0.97,
> >>>>>> because it's easier to configure and customize in a single configuration
> >>>>>> file.
> >>>>>>
> >>>>>> LMK if you'd like to see a copy of my grub.conf file, which is in a
> >>>>>> similar triple boot (RHEL 6/Ubuntu Lucid/W7).
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Mike
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> PLUG mailing list
> >>>>>> PLUG at lists.pdxlinux.org
> >>>>>> http://lists.pdxlinux.org/mailman/listinfo/plug
> >>>>> I booted the computer with a live CD.  I found the grub.cfg on the
> >>>>> Debian partition.  Looking the file over I note an entry set root='
> >>>>> (hd1,msdos6)'.  I'm thinking I misdirected the grub installation.
> >>>>>
> >>>>> If my thinking is correct, do I need to reinstall, or is there a command
> >>>>> to reinstall to the MBR?  Or can I tell Fedora to find Debian and add it?
> >>>>>
> >>>>> Thanks,
> >>>>>
> >>>>> Bruce
> >>>>> _______________________________________________
> >>>>> PLUG mailing list
> >>>>> PLUG at lists.pdxlinux.org
> >>>>> http://lists.pdxlinux.org/mailman/listinfo/plug
> >>>>>
> >>>> You don't need to reinstall, nor touch the mbr.  The beauty of grub is
> >>>> that the MBR looks at that file.  Change the file and your boot should
> >>>> work.  The trick is determining where the partitions are and setting the
> >>>> locations in grub.cfg appropriately.
> >>>> _______________________________________________
> >>>> PLUG mailing list
> >>>> PLUG at lists.pdxlinux.org
> >>>> http://lists.pdxlinux.org/mailman/listinfo/plug
> >>> The other trick is determining which grub.cfg the MBR is reading!
> >>>
> >>>
> >>> _______________________________________________
> >>> PLUG mailing list
> >>> PLUG at lists.pdxlinux.org
> >>> http://lists.pdxlinux.org/mailman/listinfo/plug
> >> Well, I know a little more than I did...Grub was installed to the MBR of
> >> the memory stick that held the Debian install iso.  Once up and running
> >> I had more issues than Grub.  More on that with a new topic, maybe.
> >>
> >> This may be as far as I get to play with this problem.  A simple
> >> reinstall may be the easiest fix for me.  I just wanted to see and
> >> tinker with Debian.
> > I assume you figured out how to use grub-install to get the GRUB pointer
> > into the MBR of the appropriate physical drive?
> >> /home directory issues may keep me from mixing Fedora and Debian.
> > I have RHEL 6 and Ubuntu Lucid on the same laptop, sharing the
> > same /home directory. The key for me was to set up all UIDs/GIDs in the
> > RHEL database starting with 1000.
> >
> > I boot into either, and can still use my /home configured tools (e.g.
> > browser, PIM, e-mail, etc) in the same way on both systems.
> >
> > Thanks,
> > Mike
> >
> > _______________________________________________
> > PLUG mailing list
> > PLUG at lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> Mike,
> 
> Is there a way to do that without going through the list one by one and 
> making the changes to fit the Debian uid/gid model?
> 
> I have not yet done the enough research to find the total answer for the 
> grub issue.  I have found several web pages to start the learning 
> process of booting from a live cd and reinstalling grub2.  I suppose I 
> could just update the Fedora grub and Debian would then be listed...
> 
> Bruce
> 
> Looks like usermod and groupmod might be the way to go...may have to fix 
> something outside of the /home at some point.

Yup, that's the start of my approach. I then proceeded to chown -R
1000.1000 on my home directory. If you have other regular user owned
files, I suppose some sort of find exec command combo would take care of
that. 

As for GRUB, your description is why I found it simpler to stick with
GRUB 0.97 (what's on RHEL 6, and what I think is still the default for
Fedora).

Thanks,
Mike




More information about the PLUG mailing list