Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Bo Ørsted Andresen
On Thursday 15 June 2006 15:29, Neil Bothwick wrote: > Did you run vgscan after editing the file? Nope. I missed that part. I /think/ I did reboot though but that didn't seem to fix it. Anyway running vgscan seems to have fixed it. Thanks. -- Bo Andresen pgpmryphG8sI3.pgp Description: PGP sig

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Neil Bothwick
On Thu, 15 Jun 2006 14:26:40 +0200, Bo Ørsted Andresen wrote: > # vgchange -a y > /dev/cdrom: open failed: No medium found > Attempt to close device '/dev/cdrom' which is not open. > 7 logical volume(s) in volume group "vg" now active Did you run vgscan after editing the file? # Rememb

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Bo Ørsted Andresen
On Thursday 15 June 2006 14:16, Neil Bothwick wrote: > On Thu, 15 Jun 2006 12:59:35 +0200, Bo Ørsted Andresen wrote: > > > filter = [ "a|^/dev/hda|", "r|.*|" ] > > > > No change. > > Are you sure that's the only filter command in the file? Only the first > one is used. > > It wouldn't hurt to an "r

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Neil Bothwick
On Thu, 15 Jun 2006 12:59:35 +0200, Bo Ørsted Andresen wrote: > > filter = [ "a|^/dev/hda|", "r|.*|" ] > > No change. Are you sure that's the only filter command in the file? Only the first one is used. It wouldn't hurt to an "r|/dev/cdrom|" to the filter. -- Neil Bothwick WITLAG: The delay

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Bo Ørsted Andresen
On Thursday 15 June 2006 13:19, Nick Rout wrote: > Just a guess, is it one of those hald "auto mount everything I put anywhere > near the computer so I act like windows" things? I think it is related to lvm2 somehow because of this: == # vgchange -a y /de

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Bo Ørsted Andresen
On Thursday 15 June 2006 13:16, 员旭鹏 wrote: > try add noauto to /etc/fstab,like this: > /dev/cdroms/cdrom0  /mnt/cdrom  iso9660     noauto,ro   0 0 Thank you for your reply. Like I said in the original post it already contained noauto in /etc/fstab. In fact it was identical to the line you are sh

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Nick Rout
On Thu, 15 Jun 2006 12:16:59 +0200 Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote: > On Thursday 15 June 2006 09:30, Neil Bothwick wrote: > > On Thu, 15 Jun 2006 01:52:29 +0200, Bo Ørsted Andresen wrote: > > > > Are you using LVM? > > > > > > Sure. So it's because of this? > > > > > > ==

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread 员旭鹏
try add noauto to /etc/fstab,like this:/dev/cdroms/cdrom0  /mnt/cdrom  iso9660 noauto ,ro   0 02006/6/15, Bo Ørsted Andresen <[EMAIL PROTECTED]>: On Thursday 15 June 2006 12:46, Neil Bothwick wrote:> Try>> filter = [ "a|^/dev/hda|", "r|.*|" ]No change.--Bo Andresen -- I like Python & Linux.

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Bo Ørsted Andresen
On Thursday 15 June 2006 12:46, Neil Bothwick wrote: > Try > > filter = [ "a|^/dev/hda|", "r|.*|" ] No change. -- Bo Andresen pgpStRzbnxam7.pgp Description: PGP signature

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Neil Bothwick
On Thu, 15 Jun 2006 12:16:59 +0200, Bo Ørsted Andresen wrote: > > # grep ^\ *filter /etc/lvm/lvm.conf > filter = [ "a|^/dev/hda|", "r/.*/" ] > > > My cdrom drive is /dev/hdc. But this has not changed anything. I still > get those messages. :(

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Bo Ørsted Andresen
On Thursday 15 June 2006 09:30, Neil Bothwick wrote: > On Thu, 15 Jun 2006 01:52:29 +0200, Bo Ørsted Andresen wrote: > > > Are you using LVM? > > > > Sure. So it's because of this? > > > > > > # grep ^\ *filter /etc/lvm/lvm.conf > > filter = [ "a/.*/" ] > >

Re: [gentoo-user] mounting cdrom during boot

2006-06-15 Thread Neil Bothwick
On Thu, 15 Jun 2006 01:52:29 +0200, Bo Ørsted Andresen wrote: > > Are you using LVM? > > Sure. So it's because of this? > > > # grep ^\ *filter /etc/lvm/lvm.conf > filter = [ "a/.*/" ] > Yes, you need to comment this line and uncomment the c

Re: [gentoo-user] mounting cdrom during boot

2006-06-14 Thread Norberto Bensa
Bo Ørsted Andresen wrote: > On Thursday 15 June 2006 01:31, Neil Bothwick wrote: > > Are you using LVM? > > Sure. So it's because of this? Yup. Remove the cdrom and then: # lvchange -a y -- Norberto Bensa Cel: 011-5654-9539 Ciudad de Buenos Aires, Argentina pgpISnWleCM4m.pgp Description: PGP

Re: [gentoo-user] mounting cdrom during boot

2006-06-14 Thread Bo Ørsted Andresen
On Thursday 15 June 2006 01:31, Neil Bothwick wrote: > Are you using LVM? Sure. So it's because of this? # grep ^\ *filter /etc/lvm/lvm.conf filter = [ "a/.*/" ] Thanks for the pointer. I forgot to change that when I reinstalled after my old

Re: [gentoo-user] mounting cdrom during boot

2006-06-14 Thread Neil Bothwick
On Thu, 15 Jun 2006 01:18:34 +0200, Bo Ørsted Andresen wrote: > /dev/cdrom: open failed: No medium found > Attempt to close device: '/dev/cdrom' which is not open. > /dev/cdrom: open failed: No medium found > Attempt to close device: '/dev/cdrom' which is not open. Are you using LVM? -- Neil B

[gentoo-user] mounting cdrom during boot

2006-06-14 Thread Bo Ørsted Andresen
Everytime I boot my system I see this message: == /dev/cdrom: open failed: No medium found == Everytime I shut down my system I see these (those two lines were repeated 23 times during last shutdown):