* [gentoo-user] about grub @ 2007-07-05 11:51 sain yan 2007-07-05 11:59 ` Paul Waring ` (3 more replies) 0 siblings, 4 replies; 30+ messages in thread From: sain yan @ 2007-07-05 11:51 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 381 bytes --] Hi On my gentoo box, Useing grub and it work fine! But I`m NOT find the file menu.lst in /etc and /boot,Why??? and I install another kernel , Then write the file "menu.lst" at /boot/grub/menu.lst, But Grub DON`T read it when booting,Why?? anybody help me? thanks!! -- ============================== I'm sorry for my poor english!!!!!!! [-- Attachment #2: Type: text/html, Size: 724 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-05 11:51 [gentoo-user] about grub sain yan @ 2007-07-05 11:59 ` Paul Waring [not found] ` <b98a192a0707050503lbbecf89w5c27d24e72d964ce@mail.gmail.com> ` (2 subsequent siblings) 3 siblings, 0 replies; 30+ messages in thread From: Paul Waring @ 2007-07-05 11:59 UTC (permalink / raw To: gentoo-user On Thu, Jul 05, 2007 at 07:51:10PM +0800, sain yan wrote: > On my gentoo box, Useing grub and it work fine! > > But I`m NOT find the file menu.lst in /etc and /boot,Why??? The file you want is stored as: /boot/grub/grub.conf on Gentoo systems. You need to edit that file in order to make any changes and grub will read them correctly at the next reboot (you don't need to run any commands as you do with lilo). Paul -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 30+ messages in thread
[parent not found: <b98a192a0707050503lbbecf89w5c27d24e72d964ce@mail.gmail.com>]
[parent not found: <200707051411.50868.dirk.heinrichs.ext@nsn.com>]
* Re: [gentoo-user] about grub [not found] ` <200707051411.50868.dirk.heinrichs.ext@nsn.com> @ 2007-07-05 12:25 ` Dominik Żyła 2007-07-05 12:46 ` Dirk Heinrichs 0 siblings, 1 reply; 30+ messages in thread From: Dominik Żyła @ 2007-07-05 12:25 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 723 bytes --] 2007/7/5, Dirk Heinrichs <dirk.heinrichs.ext@nsn.com>: > > Am Donnerstag, 5. Juli 2007 schrieb ext Dominik Żyła: > > > Hi, > > [14:01] concubine:~ $ ll /boot/grub/menu.lst > > lrwxrwxrwx 1 root root 9 gru 14 2005 /boot/grub/menu.lst -> grub.conf > > [14:01] concubine:~ $ > > So what? > > Bye... > > Dirk > -- > Dirk Heinrichs | Tel: +49 (0)162 234 3408 > Configuration Manager | Fax: +49 (0)211 47068 111 > Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com > Wanheimerstraße 68 | Web: http://www.capgemini.com > D-40468 Düsseldorf | ICQ#: 110037733 > GPG Public Key C2E467BB | Keyserver: www.keyserver.net So, it`s exactly what Hemmann, Volker Armin wrote above your post. [-- Attachment #2: Type: text/html, Size: 1481 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-05 12:25 ` Dominik Żyła @ 2007-07-05 12:46 ` Dirk Heinrichs 2007-07-05 18:01 ` Don Jerman 0 siblings, 1 reply; 30+ messages in thread From: Dirk Heinrichs @ 2007-07-05 12:46 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1218 bytes --] Am Donnerstag, 5. Juli 2007 schrieb ext Dominik Żyła: > 2007/7/5, Dirk Heinrichs <dirk.heinrichs.ext@nsn.com>: > > Am Donnerstag, 5. Juli 2007 schrieb ext Dominik Żyła: > > > Hi, > > > [14:01] concubine:~ $ ll /boot/grub/menu.lst > > > lrwxrwxrwx 1 root root 9 gru 14 2005 /boot/grub/menu.lst -> > > > grub.conf [14:01] concubine:~ $ > > > > So what? > > So, it`s exactly what Hemmann, Volker Armin wrote above your post. Yes, but I don't think it's the cause of the problem. And, according to grub's man page, is also (partly) wrong: " --config-file=FILE specify stage2 config_file [default=/boot/grub/menu.lst]" (or is the man/info/--help out of date?) As I wrote in my first answer to this thread (which somehow didn't make it to the list, yet), the problem is (IMHO) with /boot not beeing mounted at all. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-05 12:46 ` Dirk Heinrichs @ 2007-07-05 18:01 ` Don Jerman 0 siblings, 0 replies; 30+ messages in thread From: Don Jerman @ 2007-07-05 18:01 UTC (permalink / raw To: gentoo-user On 7/5/07, Dirk Heinrichs <dirk.heinrichs.ext@nsn.com> wrote: [...] > As I wrote in my first answer to this thread (which somehow didn't make it > to the list, yet), the problem is (IMHO) with /boot not beeing mounted at > all. > Yes, if you followed the Gentoo install instructions closely /boot is not mounted during normal operation, so if you install a new kernel it will write /boot/grub/grub.conf (or /boot/grub/menu.lst) to your root partition, not your boot partition. Grub is instructed to use (hd0,0) or whatever your particular boot partition is, so it's not going to see the /boot directory on your root partition - mount /boot and re-install the new kernel version and it'll probably boot fine. Then you can clean up the version of /boot that's on your root partition (verify that /boot is not mounted first!). -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-05 11:51 [gentoo-user] about grub sain yan 2007-07-05 11:59 ` Paul Waring [not found] ` <b98a192a0707050503lbbecf89w5c27d24e72d964ce@mail.gmail.com> @ 2007-07-05 19:24 ` Paul Gibbons 2007-07-06 5:44 ` Dirk Heinrichs 3 siblings, 0 replies; 30+ messages in thread From: Paul Gibbons @ 2007-07-05 19:24 UTC (permalink / raw To: gentoo-user On Thu, 5 Jul 2007 19:51:10 +0800 "sain yan" <sainry@gmail.com> wrote: > Hi > On my gentoo box, Useing grub and it work fine! > But I`m NOT find the file menu.lst in /etc and /boot,Why??? > > > and I install another kernel , Then write the file "menu.lst" at > /boot/grub/menu.lst, > But Grub DON`T read it when booting,Why?? > > > anybody help me? thanks!! I had a similar issue. My boot partition contained a /boot/grub/menu.lst with the option: title Gentoo-2.6.20.r8 on /dev/sdb2 - hd1,1 root (hd1,1) kernel /boot/bzImage-2.6.20-gentoo-r8 root=/dev/sdb6 but changes to /boot/bzImage-2.6.20-gentoo-r8 seem to have no effect. The cause was the value for root ( (hd1,1) ) which pointed to a different partition than the partition mounted as / and which held /boot. I had to mount hd1,1 which was /dev/sdb2 as /mnt/sdb2 and sure enough in /mnt/sdb2/boot I found the image that was run at boot time. I really need to tidy up my partitions! -- ##### ## ### ###### /### ### /# / / ### ## / / / ### ## / / ## ## ## ## ## /### ## #### ## ## ## ## / ### / ## ### / ## paul@pkami.e7even.com /### ## / / ###/ ## ###/ ## mobile: 07972184336 / ### ## / ## ## ## ## ## ## ######/ ## ## ## ## ## ## ###### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## /# ## /# ## ## ## ####/ ## ######/ ## ### / ## ## ## ### ## ##### ## ##/ ### # / ### / #####/ ### Linux 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-05 11:51 [gentoo-user] about grub sain yan ` (2 preceding siblings ...) 2007-07-05 19:24 ` Paul Gibbons @ 2007-07-06 5:44 ` Dirk Heinrichs 2007-07-07 11:57 ` sain yan 3 siblings, 1 reply; 30+ messages in thread From: Dirk Heinrichs @ 2007-07-06 5:44 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 765 bytes --] Am Donnerstag, 5. Juli 2007 schrieb ext sain yan: > Hi > On my gentoo box, Useing grub and it work fine! > But I`m NOT find the file menu.lst in /etc and /boot,Why??? Because you didn't mount /boot? > and I install another kernel , Then write the file "menu.lst" at > /boot/grub/menu.lst, > But Grub DON`T read it when booting,Why?? Because grub looks at another partition. HTH... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-06 5:44 ` Dirk Heinrichs @ 2007-07-07 11:57 ` sain yan 2007-07-07 12:38 ` Mick 0 siblings, 1 reply; 30+ messages in thread From: sain yan @ 2007-07-07 11:57 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 249 bytes --] >Because you didn`t mount /boot? Yes!!!!! I find the erro in /etc/fstab /dev/sda7 /boot ext3 *noauto,*notime,noexec 0 0 THANKS EVERYBODY !! -- ============================== I'm sorry for my poor english!!!!!!! [-- Attachment #2: Type: text/html, Size: 572 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-07 11:57 ` sain yan @ 2007-07-07 12:38 ` Mick 2007-07-07 14:03 ` Dan Farrell 2007-07-08 12:21 ` Kent Fredric 0 siblings, 2 replies; 30+ messages in thread From: Mick @ 2007-07-07 12:38 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 365 bytes --] On Saturday 07 July 2007 12:57, sain yan wrote: > >Because you didn`t mount /boot? > > Yes!!!!! I find the erro in /etc/fstab > > /dev/sda7 /boot ext3 *noauto,*notime,noexec 0 0 It's not an error really. You are not meant to mount /boot every time you boot - only when you want to change anything in it. -- Regards, Mick [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-07 12:38 ` Mick @ 2007-07-07 14:03 ` Dan Farrell 2007-07-08 12:05 ` sain yan 2007-07-08 15:25 ` Neil Bothwick 2007-07-08 12:21 ` Kent Fredric 1 sibling, 2 replies; 30+ messages in thread From: Dan Farrell @ 2007-07-07 14:03 UTC (permalink / raw To: gentoo-user On Sat, 7 Jul 2007 13:38:22 +0100 Mick <michaelkintzios@gmail.com> wrote: > On Saturday 07 July 2007 12:57, sain yan wrote: > > >Because you didn`t mount /boot? > > > > Yes!!!!! I find the erro in /etc/fstab > > > > /dev/sda7 /boot ext3 *noauto,*notime,noexec > > 0 0 > > It's not an error really. You are not meant to mount /boot every > time you boot - only when you want to change anything in it. There's nothing wrong with having it mounted, only generally there's no reason to access it after boot and so making it available merely introduces the possibility of messing it up. Just a clarification for postarity. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-07 14:03 ` Dan Farrell @ 2007-07-08 12:05 ` sain yan 2007-07-08 15:25 ` Neil Bothwick 1 sibling, 0 replies; 30+ messages in thread From: sain yan @ 2007-07-08 12:05 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 134 bytes --] >only generally there's no reason to access it after boot yes!! ============================== I'm sorry for my poor english!!!!!!! [-- Attachment #2: Type: text/html, Size: 195 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-07 14:03 ` Dan Farrell 2007-07-08 12:05 ` sain yan @ 2007-07-08 15:25 ` Neil Bothwick 2007-07-08 23:21 ` Allan Gottlieb ` (3 more replies) 1 sibling, 4 replies; 30+ messages in thread From: Neil Bothwick @ 2007-07-08 15:25 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 993 bytes --] On Sat, 7 Jul 2007 09:03:47 -0500, Dan Farrell wrote: > > It's not an error really. You are not meant to mount /boot every > > time you boot - only when you want to change anything in it. > > There's nothing wrong with having it mounted, only generally there's no > reason to access it after boot and so making it available merely > introduces the possibility of messing it up. And having it unmounted causes numerous threads about problems caused by updating the kernel when /boot is not mounted. I prefer to have fstab mount /boot ro [*], so it can't get touched accidentally, but trying to update the kernel without remounting it gives a clear error message. [*] On machines already set up with a separate /boot. On new installs I don't bother with a separate /boot, there's no real advantage, so I tend to stick with / (including /boot) swap and an LVM partition for everything else. -- Neil Bothwick "Mr. Worf, scan that ship." "Aye Captain. 300 dpi?" [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-08 15:25 ` Neil Bothwick @ 2007-07-08 23:21 ` Allan Gottlieb 2007-07-08 23:38 ` gentoo filesystems (was: [gentoo-user] about grub) Allan Gottlieb ` (2 subsequent siblings) 3 siblings, 0 replies; 30+ messages in thread From: Allan Gottlieb @ 2007-07-08 23:21 UTC (permalink / raw To: gentoo-user At Sun, 08 Jul 2007 16:25:06 +0100 Neil Bothwick <neil@digimed.co.uk> wrote: > On Sat, 7 Jul 2007 09:03:47 -0500, Dan Farrell wrote: > >> > It's not an error really. You are not meant to mount /boot every >> > time you boot - only when you want to change anything in it. >> >> There's nothing wrong with having it mounted, only generally there's no >> reason to access it after boot and so making it available merely >> introduces the possibility of messing it up. > > And having it unmounted causes numerous threads about problems caused by > updating the kernel when /boot is not mounted. I prefer to have fstab > mount /boot ro [*], so it can't get touched accidentally, but trying to > update the kernel without remounting it gives a clear error message. > > [*] On machines already set up with a separate /boot. On new installs I > don't bother with a separate /boot, there's no real advantage, so I tend > to stick with / (including /boot) swap and an LVM partition for everything > else. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 30+ messages in thread
* gentoo filesystems (was: [gentoo-user] about grub) 2007-07-08 15:25 ` Neil Bothwick 2007-07-08 23:21 ` Allan Gottlieb @ 2007-07-08 23:38 ` Allan Gottlieb 2007-07-09 0:33 ` Neil Bothwick 2007-07-09 5:03 ` [gentoo-user] Re: about grub Thufir 2007-07-09 6:23 ` [gentoo-user] " Dirk Heinrichs 3 siblings, 1 reply; 30+ messages in thread From: Allan Gottlieb @ 2007-07-08 23:38 UTC (permalink / raw To: gentoo-user [Sorry for the previous post just quoting neil--finger slip] At Sun, 08 Jul 2007 16:25:06 +0100 Neil Bothwick <neil@digimed.co.uk> wrote: > On new installs I tend to stick with / (including /boot) swap and an > LVM partition for everything else. Just one partition? I have never used lvm, but thought that a motivation was to be able to move space from one partition to another. If you do have several partitions managed by lvm, I would appreciated knowing how are they divided as I am considering moving to lvm myself. Is /usr under lvm? thanks in advance and sorry again for the finger slip, allan -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: gentoo filesystems (was: [gentoo-user] about grub) 2007-07-08 23:38 ` gentoo filesystems (was: [gentoo-user] about grub) Allan Gottlieb @ 2007-07-09 0:33 ` Neil Bothwick 2007-07-09 1:49 ` [gentoo-user] Re: gentoo filesystems Allan Gottlieb 2007-07-09 6:17 ` gentoo filesystems (was: [gentoo-user] about grub) Dirk Heinrichs 0 siblings, 2 replies; 30+ messages in thread From: Neil Bothwick @ 2007-07-09 0:33 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 767 bytes --] Hello Allan Gottlieb, > > On new installs I tend to stick with / (including /boot) swap and an > > LVM partition for everything else. > > Just one partition? I have never used lvm, but thought that a > motivation was to be able to move space from one partition to another. One physical partition used by LVM, but then several logical partitions on that. > If you do have several partitions managed by lvm, I would appreciated > knowing how are they divided as I am considering moving to lvm myself. > Is /usr under lvm? Yes. I tend to have partitions for /usr, /var and /home, plus any other specialised directories I want to keep on their own partitions. -- Neil Bothwick If a turtle doesn't have a shell, is he homeless or naked? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* [gentoo-user] Re: gentoo filesystems 2007-07-09 0:33 ` Neil Bothwick @ 2007-07-09 1:49 ` Allan Gottlieb 2007-07-09 6:17 ` gentoo filesystems (was: [gentoo-user] about grub) Dirk Heinrichs 1 sibling, 0 replies; 30+ messages in thread From: Allan Gottlieb @ 2007-07-09 1:49 UTC (permalink / raw To: gentoo-user At Mon, 09 Jul 2007 01:33:27 +0100 Neil Bothwick <neil@digimed.co.uk> wrote: > Hello Allan Gottlieb, > >> > On new installs I tend to stick with / (including /boot) swap and an >> > LVM partition for everything else. >> >> Just one partition? I have never used lvm, but thought that a >> motivation was to be able to move space from one partition to another. > > One physical partition used by LVM, but then several logical partitions > on that. I see. >> If you do have several partitions managed by lvm, I would appreciated >> knowing how are they divided as I am considering moving to lvm myself. >> Is /usr under lvm? > > Yes. I tend to have partitions for /usr, /var and /home, plus any other > specialised directories I want to keep on their own partitions. thanks, allan -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: gentoo filesystems (was: [gentoo-user] about grub) 2007-07-09 0:33 ` Neil Bothwick 2007-07-09 1:49 ` [gentoo-user] Re: gentoo filesystems Allan Gottlieb @ 2007-07-09 6:17 ` Dirk Heinrichs 2007-07-09 8:08 ` Neil Bothwick 1 sibling, 1 reply; 30+ messages in thread From: Dirk Heinrichs @ 2007-07-09 6:17 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 984 bytes --] Am Montag, 9. Juli 2007 schrieb ext Neil Bothwick: > Hello Allan Gottlieb, > > > > On new installs I tend to stick with / (including /boot) swap and an > > > LVM partition for everything else. > > > > Just one partition? I have never used lvm, but thought that a > > motivation was to be able to move space from one partition to another. > > One physical partition used by LVM, but then several logical partitions > on that. Guess you wanted to write logical volumes. A logical partition is something different. It could mean that inside the big LVM partition, you would create logical partitions by using fdisk. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: gentoo filesystems (was: [gentoo-user] about grub) 2007-07-09 6:17 ` gentoo filesystems (was: [gentoo-user] about grub) Dirk Heinrichs @ 2007-07-09 8:08 ` Neil Bothwick 0 siblings, 0 replies; 30+ messages in thread From: Neil Bothwick @ 2007-07-09 8:08 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 480 bytes --] Hello Dirk Heinrichs, > > One physical partition used by LVM, but then several logical > > partitions on that. > > Guess you wanted to write logical volumes. A logical partition is > something different. It could mean that inside the big LVM partition, > you would create logical partitions by using fdisk. Err, yeah. -- Neil Bothwick Final proof that dolphins are more intelligent than humans: Not one dolphin has, as of yet, upgraded to Windows Vista. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* [gentoo-user] Re: about grub 2007-07-08 15:25 ` Neil Bothwick 2007-07-08 23:21 ` Allan Gottlieb 2007-07-08 23:38 ` gentoo filesystems (was: [gentoo-user] about grub) Allan Gottlieb @ 2007-07-09 5:03 ` Thufir 2007-07-09 6:19 ` Dirk Heinrichs 2007-07-09 8:20 ` Neil Bothwick 2007-07-09 6:23 ` [gentoo-user] " Dirk Heinrichs 3 siblings, 2 replies; 30+ messages in thread From: Thufir @ 2007-07-09 5:03 UTC (permalink / raw To: gentoo-user On Sun, 08 Jul 2007 16:25:06 +0100, Neil Bothwick wrote: > [*] On machines already set up with a separate /boot. On new installs I > don't bother with a separate /boot, there's no real advantage, so I tend > to stick with / (including /boot) swap and an LVM partition for > everything else. Would you paste the output of fdisk -l or similar so I could see concretely what you mean? thanks, Thufir -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] Re: about grub 2007-07-09 5:03 ` [gentoo-user] Re: about grub Thufir @ 2007-07-09 6:19 ` Dirk Heinrichs 2007-07-09 7:04 ` Norberto Bensa 2007-07-09 8:20 ` Neil Bothwick 1 sibling, 1 reply; 30+ messages in thread From: Dirk Heinrichs @ 2007-07-09 6:19 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1106 bytes --] Am Montag, 9. Juli 2007 schrieb ext Thufir: > On Sun, 08 Jul 2007 16:25:06 +0100, Neil Bothwick wrote: > > [*] On machines already set up with a separate /boot. On new installs I > > don't bother with a separate /boot, there's no real advantage, so I > > tend to stick with / (including /boot) swap and an LVM partition for > > everything else. > > Would you paste the output of fdisk -l or similar so I could see > concretely what you mean? This is mine: /dev/sda1 * 1 2610 20964793+ 7 HPFS/NTFS /dev/sda2 * 2611 2614 32130 83 Linux /dev/sda3 2615 9726 57127140 83 Linux sda2 is /boot, sda3 is for LVM. Everthing else is logical volumes, managed with EVMS. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] Re: about grub 2007-07-09 6:19 ` Dirk Heinrichs @ 2007-07-09 7:04 ` Norberto Bensa 2007-07-09 7:13 ` Dirk Heinrichs 0 siblings, 1 reply; 30+ messages in thread From: Norberto Bensa @ 2007-07-09 7:04 UTC (permalink / raw To: gentoo-user; +Cc: Dirk Heinrichs Hello Dirk, Dirk Heinrichs wrote: > /dev/sda1 * 1 2610 20964793+ 7 HPFS/NTFS > /dev/sda2 * 2611 2614 32130 83 Linux > /dev/sda3 2615 9726 57127140 83 Linux > > sda2 is /boot, sda3 is for LVM. Everthing else is logical volumes, managed > with EVMS. How is managing LVM thru EVMS different from vg* and lv* commands? Many thanks, Norberto -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] Re: about grub 2007-07-09 7:04 ` Norberto Bensa @ 2007-07-09 7:13 ` Dirk Heinrichs 0 siblings, 0 replies; 30+ messages in thread From: Dirk Heinrichs @ 2007-07-09 7:13 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 989 bytes --] Am Montag, 9. Juli 2007 schrieb ext Norberto Bensa: > Hello Dirk, > > Dirk Heinrichs wrote: > > /dev/sda1 * 1 2610 20964793+ 7 HPFS/NTFS > > /dev/sda2 * 2611 2614 32130 83 Linux > > /dev/sda3 2615 9726 57127140 83 Linux > > > > sda2 is /boot, sda3 is for LVM. Everthing else is logical volumes, > > managed with EVMS. > > How is managing LVM thru EVMS different from vg* and lv* commands? One UI to replace them all. From fdisk to vg*/lv* to md* to mkfs.*. Everything in a nice ncurses or GTK UI, or even a pure commandline client for scripting. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] Re: about grub 2007-07-09 5:03 ` [gentoo-user] Re: about grub Thufir 2007-07-09 6:19 ` Dirk Heinrichs @ 2007-07-09 8:20 ` Neil Bothwick 1 sibling, 0 replies; 30+ messages in thread From: Neil Bothwick @ 2007-07-09 8:20 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1151 bytes --] Hello Thufir, > On Sun, 08 Jul 2007 16:25:06 +0100, Neil Bothwick wrote: > > > > [*] On machines already set up with a separate /boot. On new installs > > I don't bother with a separate /boot, there's no real advantage, so I > > tend to stick with / (including /boot) swap and an LVM partition for > > everything else. > > Would you paste the output of fdisk -l or similar so I could see > concretely what you mean? % fdisk -l /dev/sda Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 60801 488384001 5 Extended /dev/sda5 1 182 1461852 82 Linux swap / Solaris /dev/sda6 183 237 441756 fd Linux raid autodetect /dev/sda7 238 19689 156248158+ fd Linux raid autodetect sda5 is swap, sda6 is a RAID1 partition containing root, sda7 has the LVM with everything else. -- Neil Bothwick As a computer, I find your faith in technology amusing. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-08 15:25 ` Neil Bothwick ` (2 preceding siblings ...) 2007-07-09 5:03 ` [gentoo-user] Re: about grub Thufir @ 2007-07-09 6:23 ` Dirk Heinrichs 2007-07-09 8:18 ` Neil Bothwick 3 siblings, 1 reply; 30+ messages in thread From: Dirk Heinrichs @ 2007-07-09 6:23 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 758 bytes --] Am Sonntag, 8. Juli 2007 schrieb ext Neil Bothwick: > [*] On machines already set up with a separate /boot. On new installs I > don't bother with a separate /boot, there's no real advantage, so I tend > to stick with / (including /boot) swap and an LVM partition for > everything else. What if you need to resize /? Rare case, I know, but Murphy is still alive :-) Why not put swap on LV also? Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-09 6:23 ` [gentoo-user] " Dirk Heinrichs @ 2007-07-09 8:18 ` Neil Bothwick 2007-07-09 8:41 ` Dirk Heinrichs 0 siblings, 1 reply; 30+ messages in thread From: Neil Bothwick @ 2007-07-09 8:18 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1143 bytes --] Hello Dirk Heinrichs, > > [*] On machines already set up with a separate /boot. On new installs > > I don't bother with a separate /boot, there's no real advantage, so I > > tend to stick with / (including /boot) swap and an LVM partition for > > everything else. > > What if you need to resize /? Since /usr, /var and /opt are on LVM, I can't see / increasing dramatically in size, and it's only 1/3 full now. The alternative would be to use a separate /boot and mess around with initramfs images to load / from LVM, which is extra hassle and another potential point of failure. > Rare case, I know, but Murphy is still alive :-) No he's not, he died in 1990 http://en.wikipedia.org/wiki/Edward_A._Murphy,_Jr ;-) > Why not put swap on LV also? No major reason, but it means I still have swap available hen booting in single mode without LVM. I can't see that I'd ever be so desperate for disk space that I'd want to reduce swap. If I needed more I could always add an LVM volume to swap. I suppose it would be tidier to put swap on LVM too. -- Neil Bothwick Is it possible to be totally partial? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-09 8:18 ` Neil Bothwick @ 2007-07-09 8:41 ` Dirk Heinrichs 2007-07-09 10:11 ` Neil Bothwick 0 siblings, 1 reply; 30+ messages in thread From: Dirk Heinrichs @ 2007-07-09 8:41 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1433 bytes --] Am Montag, 9. Juli 2007 schrieb ext Neil Bothwick: > Hello Dirk Heinrichs, > > > > [*] On machines already set up with a separate /boot. On new installs > > > I don't bother with a separate /boot, there's no real advantage, so I > > > tend to stick with / (including /boot) swap and an LVM partition for > > > everything else. > > > > What if you need to resize /? > > Since /usr, /var and /opt are on LVM, I can't see / increasing > dramatically in size, and it's only 1/3 full now. As I wrote, rare case. > The alternative would > be to use a separate /boot and mess around with initramfs images to > load / from LVM, which is extra hassle and another potential point of > failure. Want my scripts? ;-) > > Why not put swap on LV also? > > No major reason, but it means I still have swap available hen booting in > single mode without LVM. AFAIK LV's are available in single mode. > I suppose it would be tidier to put swap on LVM too. In the end, it's a matter of personal taste, I guess. I like to have it as flexible as possible. :-) Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-09 8:41 ` Dirk Heinrichs @ 2007-07-09 10:11 ` Neil Bothwick 2007-07-10 5:49 ` Dirk Heinrichs 0 siblings, 1 reply; 30+ messages in thread From: Neil Bothwick @ 2007-07-09 10:11 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1102 bytes --] On Mon, 9 Jul 2007 10:41:05 +0200, Dirk Heinrichs wrote: > > The alternative would > > be to use a separate /boot and mess around with initramfs images to > > load / from LVM, which is extra hassle and another potential point of > > failure. > > Want my scripts? ;-) I'd be interested to see them, although I like the idea of not depending on an initrd. As I no longer run a separate /boot, it wouldn't reduce my partition count either. > > > Why not put swap on LV also? > > > > No major reason, but it means I still have swap available when booting > > in single mode without LVM. > > AFAIK LV's are available in single mode. > > > I suppose it would be tidier to put swap on LVM too. > > In the end, it's a matter of personal taste, I guess. I like to have it > as flexible as possible. :-) It's not something I'd really given any thought. Now you mention it, I'd probably put swap on LVM next time. Still, my current setup means I can expand / by switching swap to LVM and adding the space to / :) -- Neil Bothwick Does fuzzy logic tickle? [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-09 10:11 ` Neil Bothwick @ 2007-07-10 5:49 ` Dirk Heinrichs 2007-07-10 8:03 ` Neil Bothwick 0 siblings, 1 reply; 30+ messages in thread From: Dirk Heinrichs @ 2007-07-10 5:49 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1551 bytes --] Am Montag, 9. Juli 2007 schrieb ext Neil Bothwick: > On Mon, 9 Jul 2007 10:41:05 +0200, Dirk Heinrichs wrote: > > > The alternative would > > > be to use a separate /boot and mess around with initramfs images to > > > load / from LVM, which is extra hassle and another potential point of > > > failure. > > > > Want my scripts? ;-) > > I'd be interested to see them, although I like the idea of not depending > on an initrd. As I no longer run a separate /boot, it wouldn't reduce my > partition count either. I see. What I do is to embed the initramfs into the kernel image. Works fine as long as everything you need to setup / is compiled into the kernel statically. There's also one scenario where separating / and /boot has a clear advantage: Laptops with complete HD encryption. The only partition you can leave unencrypted is the small /boot, everything else can be encrypted (which means, you only need the passphrase for the / volume, everything else can be unlocked via keyfiles stored on this partition/volume. In this case you need an intrd/intramfs (the latter is far easier to handle) anyway and can put / on an LV. Oh, my scripts will reach you soon. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-10 5:49 ` Dirk Heinrichs @ 2007-07-10 8:03 ` Neil Bothwick 0 siblings, 0 replies; 30+ messages in thread From: Neil Bothwick @ 2007-07-10 8:03 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 955 bytes --] On Tue, 10 Jul 2007 07:49:50 +0200, Dirk Heinrichs wrote: > I see. What I do is to embed the initramfs into the kernel image. Ah yes, I'd forgotten about that option. > Works > fine as long as everything you need to setup / is compiled into the > kernel statically. There's also one scenario where separating / > and /boot has a clear advantage: Laptops with complete HD encryption. > The only partition you can leave unencrypted is the small /boot, > everything else can be encrypted (which means, you only need the > passphrase for the / volume, everything else can be unlocked via > keyfiles stored on this partition/volume. That's a very good point, although I have /home and swap encrypted, being able to encrypt /etc would be useful, especially on my laptop. > Oh, my scripts will reach you soon. Got them, thanks. I'll take a look later. -- Neil Bothwick Sussh. Be vewwy quiet, I'm hunting tagwines. hahahahah. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [gentoo-user] about grub 2007-07-07 12:38 ` Mick 2007-07-07 14:03 ` Dan Farrell @ 2007-07-08 12:21 ` Kent Fredric 1 sibling, 0 replies; 30+ messages in thread From: Kent Fredric @ 2007-07-08 12:21 UTC (permalink / raw To: gentoo-user On 7/8/07, Mick <michaelkintzios@gmail.com> wrote: > On Saturday 07 July 2007 12:57, sain yan wrote: > > >Because you didn`t mount /boot? > > > > Yes!!!!! I find the erro in /etc/fstab > > > > /dev/sda7 /boot ext3 *noauto,*notime,noexec 0 0 > > It's not an error really. You are not meant to mount /boot every time you > boot - only when you want to change anything in it. > -- > Regards, > Mick > > there is 1 error there, but its _not_ the noauto, its the notime, which probably should be noatime, and notime being an invalid option might be preventing mounting. -- Kent ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x| print "enNOSPicAMreil kdrtf@gma.com"[(2*x)..(2*x+1)]}' -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2007-07-10 8:08 UTC | newest] Thread overview: 30+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-07-05 11:51 [gentoo-user] about grub sain yan 2007-07-05 11:59 ` Paul Waring [not found] ` <b98a192a0707050503lbbecf89w5c27d24e72d964ce@mail.gmail.com> [not found] ` <200707051411.50868.dirk.heinrichs.ext@nsn.com> 2007-07-05 12:25 ` Dominik Żyła 2007-07-05 12:46 ` Dirk Heinrichs 2007-07-05 18:01 ` Don Jerman 2007-07-05 19:24 ` Paul Gibbons 2007-07-06 5:44 ` Dirk Heinrichs 2007-07-07 11:57 ` sain yan 2007-07-07 12:38 ` Mick 2007-07-07 14:03 ` Dan Farrell 2007-07-08 12:05 ` sain yan 2007-07-08 15:25 ` Neil Bothwick 2007-07-08 23:21 ` Allan Gottlieb 2007-07-08 23:38 ` gentoo filesystems (was: [gentoo-user] about grub) Allan Gottlieb 2007-07-09 0:33 ` Neil Bothwick 2007-07-09 1:49 ` [gentoo-user] Re: gentoo filesystems Allan Gottlieb 2007-07-09 6:17 ` gentoo filesystems (was: [gentoo-user] about grub) Dirk Heinrichs 2007-07-09 8:08 ` Neil Bothwick 2007-07-09 5:03 ` [gentoo-user] Re: about grub Thufir 2007-07-09 6:19 ` Dirk Heinrichs 2007-07-09 7:04 ` Norberto Bensa 2007-07-09 7:13 ` Dirk Heinrichs 2007-07-09 8:20 ` Neil Bothwick 2007-07-09 6:23 ` [gentoo-user] " Dirk Heinrichs 2007-07-09 8:18 ` Neil Bothwick 2007-07-09 8:41 ` Dirk Heinrichs 2007-07-09 10:11 ` Neil Bothwick 2007-07-10 5:49 ` Dirk Heinrichs 2007-07-10 8:03 ` Neil Bothwick 2007-07-08 12:21 ` Kent Fredric
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox