FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 01-08-2010, 12:15 PM
Tixy
 
Default Grub 2

On Fri, 2010-01-08 at 12:33 +0000, James Allsopp wrote:
<snip>
> Problem is, I want to use grub2 as the first thing I'm going to do
> is upgrade to debian testing, which uses this.
<snip>

Is there a reason for not just installing Debian Testing rather than
trying to get Lenny on there first? The testing install would add Grub2
and I believe that it (and fstab) now use UUIDs to identify drives,
which helps avoid hdX/sdX drive identification mixups.

I a newbie to a lot of this, so may be talking rubbish. ;-)

--
Tixy


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-08-2010, 12:33 PM
Mark Allums
 
Default Grub 2

On 1/8/2010 7:15 AM, Tixy wrote:

On Fri, 2010-01-08 at 12:33 +0000, James Allsopp wrote:
<snip>

Problem is, I want to use grub2 as the first thing I'm going to do
is upgrade to debian testing, which uses this.

<snip>

Is there a reason for not just installing Debian Testing rather than
trying to get Lenny on there first? The testing install would add Grub2
and I believe that it (and fstab) now use UUIDs to identify drives,
which helps avoid hdX/sdX drive identification mixups.

I a newbie to a lot of this, so may be talking rubbish. ;-)



Sometimes, the new installer is broken. Other than that, I concur,
install from squeeze and be done with it.


Mark Allums


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-08-2010, 12:53 PM
Tixy
 
Default Grub 2

On Fri, 2010-01-08 at 13:24 +0000, James Allsopp wrote:
> I looked for that install but it seemed to take me back to the penny
> install site, i'll look again, Jim

Look for the 'netinst' iso at
http://www.debian.org/devel/debian-installer/

I've used that method several times to install Testing; though as the
installer is built daily, it may on occasion be broken.

I also note that the "Changes for Squeeze in Debian Installer" says
"setting up RAID, LVM and crypto is simplified", which you may
appreciate. (I've no personal experience of this though.)

Cheers
--
Tixy

[1] http://lists.debian.org/debian-devel-announce/2010/01/msg00002.html


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-09-2010, 10:27 AM
"s. keeling"
 
Default Grub 2

Tixy <debianuser@tixy.myzen.co.uk>:
> On Fri, 2010-01-08 at 12:33 +0000, James Allsopp wrote:
> <snip>
> > Problem is, I want to use grub2 as the first thing I'm going to do
> > is upgrade to debian testing, which uses this.
> <snip>
>
> Is there a reason for not just installing Debian Testing rather than
> trying to get Lenny on there first? The testing install would add Grub2
> and I believe that it (and fstab) now use UUIDs to identify drives,

Speaking from a new testing install, correct, and I concur.

> which helps avoid hdX/sdX drive identification mixups.

Can't speak to that.

> I a newbie to a lot of this, so may be talking rubbish. ;-)

Sucks to be us. :-|


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-01-2010, 06:08 AM
ABSDoug
 
Default Grub 2

Ultimately, I want to create a seperate partition for Grub 2. I've got quite a few partitions now. Uninstalling, reinstalling, testing. So I'm reading: http://kubuntuforums.net/forums/index.php?topic=3106368.0 & came across:

Key commands: sudo grub-mkconfig and sudo grub-install
Use these two commands to "freshen up" your GRUB 2 installation.
grub-mkconfig: builds a new boot menu configuration file boot/grub/grub.cfg.
grub-install: builds a complete, fresh GRUB 2 installation, including /boot/grub/grub.cfg.

Does that mean Grub 2 *AUTOMATICLY* finds all the OS, the different kernels... all that it does it self??




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-01-2010, 09:05 AM
Maurice McCarthy
 
Default Grub 2

On 1 June 2010 07:08, ABSDoug <absdoug@yahoo.com> wrote:

>
> Does that mean Grub 2 *AUTOMATICLY* finds all the OS, the different kernels... all that it does it self??
>

Yes, that is what is supposed to happen but the file
/boot/grub/device.map needs to be right.

Grub files are spread across /boot /etc and /usr so putting grub in
its own partition is tantamount to have two partitions / and /home.

--
Best Wishes
Maurice

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-07-2010, 10:41 PM
Karl Larsen
 
Default grub 2

Here is my grub2 file.

To change the many settings in grub2 edit the file
/etc/default/grub as desired. I would also save the original grub by
making a copy with cp grub grub.old in the same directory. If you change
grub then you need to run 'update-grub' as a root to use the changes.

The file /boot/grub/grub.cfg is automatically generated by
/usr/sbin/grub-mkconfig using templates from /etc/grub.d and settings
from /etc/default/grub. Looking at the files in /etc/grub.d makes it
impossible to be changed by hand. These are files written in bash binary
code which most of us are stupid about.

The file /boot/grub/grub.cfg can be modified by hand. You can
shuffle the systems being opened to suit your needs but when you receive
the next kernel update grub will fail. This is a temporary fix not advised.

The SuperGrub cd-rom I have is the only thing smart enough to
fix Grub2. You get this from: www.supergrub.com/ and put it on a cd-rom
with K3b which you can get with apt-get install K3b.


73 Karl

--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-07-2010, 10:54 PM
Jordon Bedwell
 
Default grub 2

On 08/07/2010 05:41 PM, Karl Larsen wrote:
> The SuperGrub cd-rom I have is the only thing smart enough to
> fix Grub2. You get this from: www.supergrub.com/ and put it on a cd-rom

LiveCD > Mount > Chroot > Reinstall Grub == Win

sudo mkdir /repair
sudo mount /dev/sda /repair
sudo mount --bind /dev/ /repair/dev
sudo chroot /repair
sudo grub-install /dev/sda

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-08-2010, 12:40 AM
Tom H
 
Default grub 2

On Sat, Aug 7, 2010 at 6:54 PM, Jordon Bedwell <jordon@envygeeks.com> wrote:
> On 08/07/2010 05:41 PM, Karl Larsen wrote:
>>
>> The SuperGrub cd-rom I have is the only thing smart enough to
>> fix Grub2. You get this from: www.supergrub.com/ and put it on a cd-rom
>
> LiveCD > Mount > Chroot > Reinstall Grub == Win
>
> sudo mkdir /repair
> sudo mount /dev/sda /repair
> sudo mount --bind /dev/ /repair/dev
> sudo chroot /repair
> sudo grub-install /dev/sda

I'm glad that someone understood what Karl was referring to; although
I don't understand the "== Win".

Also:

It should be
sudo mount /dev/sdaX /repair
not
sudo mount /dev/sda /repair
where sdaX is the root partition.

There needs to be a
sudo mount /dev/sdaY /repair/boot
if /boot is a separate mount.

There probably needs to be a
sudo mount -t proc proc /repair/proc
too.

I also like to have non-bind mounts for /dev/pts, /dev/shm, and /sys
when I chroot, but that's just me...

To Karl: There's no such thing as a "bash binary". You must of course
mean bash (shell) scrip. But I understand your frustration with the
"configurability" of grub2 because /etc/default/grub doesn't have
enough options. By the way, you don't necessarily need to edit
/etc/default/grub. You can run "sudo dpkg-reconfigure grub-pc" to
modify some of the settings in /etc/default/grub (like
GRUB_CMDLINE_LINUX_DEFAULT and GRUB_CMDLINE_LINUX).

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-08-2010, 12:44 AM
Jordon Bedwell
 
Default grub 2

On 08/07/2010 07:40 PM, Tom H wrote:
> On Sat, Aug 7, 2010 at 6:54 PM, Jordon Bedwell <jordon@envygeeks.com> wrote:
>
> I'm glad that someone understood what Karl was referring to; although
> I don't understand the "== Win".
>
> Also:
>
> It should be
> sudo mount /dev/sdaX /repair
> not
> sudo mount /dev/sda /repair
> where sdaX is the root partition.

Yeah I was too lazy since I expected him to have chosen the "Noob
recommendation" of putting everything onto a single partition, the
missing X is a typo though. Thanks for that correction.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 12:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org