Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help configuring grub-pc

100 views
Skip to first unread message

Erin Brinkley

unread,
Feb 14, 2011, 1:30:01 PM2/14/11
to
Ok, I lied!

As part of the Lenny to Squeeze upgrade, I guess
there's a whole new grub boot process!

It tells you that when your system settles down,
you should run "upgrade-from-grub-legacy" ... ok,
I just did that now and I am STUCK!

I guess I have to pick out what device that
grub-install will be automatically run for, but
I don't understand what that means!

I have two hard drives, /dev/sda and /dev/sdb.

My / (root) partition is /dev/sda1. The /dev/sda
has other partitions too. I use /dev/sdb
exclusively for my /home partition, /dev/sdb1.

So what do I pick for this, /dev/sda or /dev/sda1?

Here is what's on the screen:

-----------------------------------------------------
The grub-pc package is being upgraded. This
menu allows you to select which devices
you'd like grub-install to be automatically
run for, if any.

Running grub-install automatically is
recommended in most situations, to prevent
the installed GRUB core image from getting
out of sync with GRUB modules or grub.cfg.

If you're unsure which drive is designated
as boot drive by your BIOS, it is often a
good idea to install GRUB to all of them.

Note: it is possible to install GRUB to
partition boot records as well, and some
appropriate partitions are offered here.
However, this forces GRUB to use the
blocklist mechanism, which makes it less
reliable, and therefore is not recommended.

GRUB install devices:

[*] /dev/sda (250059 MB; WDC_WD2500JS-64ABC2)
[ ] - /dev/sda1 (1998 MB; /)
[ ] /dev/sdb (1000204 MB; WDC_WD1001FBFF-40D402)

------------------------------------------------------


Please help ... this is kinda scary because it seems
like I could break something if I pick the wrong one!

Thanks!

Erin



--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/735805....@web114609.mail.gq1.yahoo.com

Greg Madden

unread,
Feb 14, 2011, 1:40:03 PM2/14/11
to

The default suggestion , sda, works for most people , If you don't know you want
grub installed in another place. sda is the same as the older 'mbr' question.

Don't worry, you can always boot the install media and use the rescue mode to
install grub else where.
--
Peace,

Greg


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/201102140924.4...@gci.net

Erin Brinkley

unread,
Feb 14, 2011, 2:10:02 PM2/14/11
to
Greg Madden <gomad...@gci.net> wrote:

> The default suggestion , sda, works for most people , If you don't know
> you want grub installed in another place. sda is the same as the older
> 'mbr' question.

Ok, this makes sense. I know the /boot dir is in /dev/sda1. I'll try the default now.


> Don't worry, you can always boot the install media and use the rescue mode
> to install grub else where.

I installed over the net with apt! So basically I have no install media.

Should I be making some kind of emergency disk before trying this??

Erin


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/431723....@web114604.mail.gq1.yahoo.com

Andrei Popescu

unread,
Feb 14, 2011, 2:30:01 PM2/14/11
to
On Lu, 14 feb 11, 10:06:51, Erin Brinkley wrote:
> Ok, I lied!

:)



> So what do I pick for this, /dev/sda or /dev/sda1?

Maybe a bit of snipping might help ;)



> Here is what's on the screen:

...


> If you're unsure which drive is designated
> as boot drive by your BIOS, it is often a
> good idea to install GRUB to all of them.

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

signature.asc

Greg Madden

unread,
Feb 14, 2011, 6:30:03 PM2/14/11
to

On Monday 14 February 2011 09:49:29 am Erin Brinkley wrote:
snip


> I installed over the net with apt! So basically I have no install media.
>
> Should I be making some kind of emergency disk before trying this??

Not sure what you mean by 'no install media' AFAIK, you have to have one of the
several modes of install media to proceed.
1. netintall iso: has base system, but needs a repository for the rest of the
packages. Minimal system but can stand alone.
2. businesscard iso, has only enough to boot the system and set up the network and
configure apt. Needs a mirror or package repo or you can't proceed.
3. Cd's and DVD's with a full desktop environment .

All the install media have 'rescue' mode included. If what yo say is true, grab
one of the small iso's just for the rescue mode.

ps: There is another, PXE, which I am not familiar with, I think it can be used to
install without local media.
--
Peace,

Greg


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/201102141416.3...@gci.net

Rob Owens

unread,
Feb 14, 2011, 9:00:02 PM2/14/11
to
On Mon, Feb 14, 2011 at 10:49:29AM -0800, Erin Brinkley wrote:
> Greg Madden <gomad...@gci.net> wrote:
>
> > The default suggestion , sda, works for most people , If you don't know
> > you want grub installed in another place. sda is the same as the older
> > 'mbr' question.
>
> Ok, this makes sense. I know the /boot dir is in /dev/sda1. I'll try the default now.
>
>
> > Don't worry, you can always boot the install media and use the rescue mode
> > to install grub else where.
>
> I installed over the net with apt! So basically I have no install media.
>
> Should I be making some kind of emergency disk before trying this??
>
I like this one: http://www.supergrubdisk.org/

-Rob


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/20110215015...@aurora.owens.net

Charles Kroeger

unread,
Feb 15, 2011, 1:00:01 AM2/15/11
to

If you have grub2 then use Rescatux..doesn't everyone use grub2 anyway?

I had to use Rescatux just recently after an upgrade whilst avoiding
dist-upgrade until the nvidia-glx 260 driver moves into unstable.

After one of those 'upgrade' solutions I got nothing but the black
screen after a reboot. I don't know why grub was wiped out but it was
handy to get it back with the Rescatux boot disk, so..highly
recommended for those shocking grub2 moments.

C.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/8ruh15...@mid.individual.net

Stephen Powell

unread,
Feb 16, 2011, 10:20:01 PM2/16/11
to
On Tue, 15 Feb 2011 00:24:59 -0500 (EST), Charles Kroeger wrote:
>
> If you have grub2 then use Rescatux..doesn't everyone use grub2 anyway?

Everyone most assuredly does *not* use grub2. There's grub-legacy,
extlinux, lilo, and others. I don't use grub2. As for a rescue disk,
for as often as I need one, which isn't often, the Debian installer
in rescue mode has generally sufficed for me. There are fancier alternatives.
But d-i works well enough for me.

--
.''`. Stephen Powell
: :' :
`. `'`
`-


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/1191828606.872239.1297...@md01.wow.synacor.com

Charles Kroeger

unread,
Feb 18, 2011, 9:20:01 PM2/18/11
to
> Please help ... this is kinda scary because it seems
> like I could break something if I pick the wrong one!
>
> Thanks!
>
> Erin

It has been some time since you wrote this so I assume all is well and
you've chosen wisely. However, when things go wrong with grub-pc or
in my case, grub2-pc as it were, I always get good results from
editing /boot/grub/grub.cfg That's the one that says, DO NOT EDIT THIS
FILE.

There is also a good read in /usr/share/grub/ and more interesting:

/etc/default/grub the one you might want to edit also after reading the
document that will appear after the command:

# info -f grub -n 'Simple configuration'

That will take you into the Grub Manual to menu item 5.1 "Simple
configuration handling," If you can endure reading longish manuals ,
you can start at the beginning that is the top of the file where it
says: GNU GRUB manual
**********************
--

CK

INGREDIENTS: Bleached Wheat Flour, Sugar, Salt, Water, Vegetable Oil,
Soybean Lecithin, Sodium Bicarbonate, High Fructose Corn Syrup,
Cyamopsis Tetragonoloba, Cellulose, Natural and Artificial Flavor
(Vanilla), and Food Colors (FD&C Yellow #5 & Red #40)


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/8s8m69...@mid.individual.net

0 new messages