Mailinglist Archive: opensuse (1390 mails)

< Previous Next >
Re: Boot configuration. Was Re: [opensuse] Internet monitoring tool
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Tue, 2 Mar 2010 21:40:27 +0100 (CET)
  • Message-id: <alpine.LSU.2.00.1003022124190.25533@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Tuesday, 2010-03-02 at 10:32 -0500, Anton Aylward wrote:

Which is where it says

(hd0,4)
This specifies the first extended partition of the first hard
disk drive. Note that the partition numbers for extended
partitions are counted from `4', regardless of the actual
number of primary partitions on your hard disk.

Perhaps you're reading that differently from the way I am.

Partitions 1 to 4 are primaries. If one of them (and only one) is defined as extended, then you get as many logical partitions as you want, counting from 5 onwards.

To grub, numbers start at '0', so things change a bit.


Oh, so we're using the GNU version of Grub.
I wasn't aware of that. Can you tell me where on the openSuse.org site
I can verify that?

That we are using gnu grub? Use the command "rpm -qi grub". It is the standard grub with some patches applied by openSUSE.


And why isn't this docco on the opensuse.org site?

It is there, in the obvious place. Did you search?

http://en.opensuse.org/GRUB


Lets see, I have from fdisk: reordered to make sense

Don't reorder.


Device Boot Start End Blocks Id System
/dev/sda1 1 1275 10241406 7 HPFS/NTFS
/dev/sda2 1276 2530 10080787+ 7 HPFS/NTFS

/dev/sda4 2531 2550 160650 83 Linux

/dev/sda3 * 2551 9729 57665317+ f W95 Ext'd (LBA)

/dev/sda6 2551 2557 56164+ 83 Linux (/boot)

/dev/sda7 2558 2836 2241036 83 Linux (/)
/dev/sda8 2837 2845 72261 82 Linux swap

/dev/sda5 2846 9729 55295698+ 8e Linux LVM

The sda4 is the "newboot" that I made by shrinking sda2 and where I want
to move to

My /etc/fstab tells me

/dev/sda6 /boot ext3
/dev/sda7 / ext3
/dev/sda8 swap swap


So the /boot is the FIRST partition in the extended partition.

No, it is partition number 6, ie, the SECOND logical partition (#5 is the first)


And in /boot/grub/menu.lst I have

title openSUSE 11.2 - 2.6.31.12-0.1 (pae)
root (hd0,5)

(hd0,5) is /dev/sda6. Correct.


However all this just goes to further demonstrate my confusion.

Indeed :-)

You'll not that I'm not asking questions blindly here.
I *have* dug and examined. I have googled and found some pretty
atrocious technician writing on the subject. I have met articles that
say grub0.97 isn't worth bothering with.

Well... Version 2 is not ready yet for real world use, I mean, for us. But version 1.x is no longer maintained, and worse, it does not boot ext4... so we use version 1.x with patches. Want to know more? Read the factory list, browse its archive.

- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkuNd8QACgkQtTMYHG2NR9VlAgCghrrbTQHME/BYEc71IlpYk5t1
2p0An2fOp/bR91sy39PH630XtrdJn88T
=B4Q8
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >