You are not logged in.

#1 2008-07-03 18:44:08

new2arch
Member
Registered: 2008-02-25
Posts: 235

[solved] Weird errors when dual-booting Arch & CentOS

Hi all

I recently added Centos5 (a conservative but great distro!) to my spare extended partition (main partition housing Arch!) and both systems work fine but...

1) Intermittently I get these warning/messages while boothing either Arch or CentOS:

"Superblock last mount time is in the future. Fixed!"

2) When Archlinux runs 'fsck' every 20 boots or so, it finds errors (nothing more on how to solve those) and just states it will attempt to reboot within 15 seconds or so. Reboots without any issues. I started to get these fsck warnings only after when CentOS was installed and when "Superblock last mount..." messages started to jump at me. Somehow these are related but I don't see how.
Googling seemingly reveals that it has something to do with the time settings, but then again, I don't see how these two separate systems can affect each other.

Is this something I should try to remedy or just let it be?

3) When I boot into Arch, the CentOS's partitions '/' and '/home' are every present on my Arch desktop. Is there any way disabling the automounts of these partitions without losing automount of other devices such as USB and CD-writer?

Thanks.

Last edited by new2arch (2008-07-04 16:14:55)

Offline

#2 2008-07-04 02:43:56

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [solved] Weird errors when dual-booting Arch & CentOS

new2arch wrote:

Hi all

I recently added Centos5 (a conservative but great distro!) to my spare extended partition (main partition housing Arch!) and both systems work fine but...
*snip*

3) When I boot into Arch, the CentOS's partitions '/' and '/home' are every present on my Arch desktop. Is there any way disabling the automounts of these partitions without losing automount of other devices such as USB and CD-writer?

Are you using gnome?  If so, you can go into gconf-editor and experiment with the settings you find if you search for volume_manager.  Or you can just disable the volumes being visible under nautilus/desktop.

Offline

#3 2008-07-04 11:38:22

new2arch
Member
Registered: 2008-02-25
Posts: 235

Re: [solved] Weird errors when dual-booting Arch & CentOS

tigrmesh wrote:
new2arch wrote:

Hi all

I recently added Centos5 (a conservative but great distro!) to my spare extended partition (main partition housing Arch!) and both systems work fine but...
*snip*

3) When I boot into Arch, the CentOS's partitions '/' and '/home' are every present on my Arch desktop. Is there any way disabling the automounts of these partitions without losing automount of other devices such as USB and CD-writer?

Are you using gnome?  If so, you can go into gconf-editor and experiment with the settings you find if you search for volume_manager.  Or you can just disable the volumes being visible under nautilus/desktop.

Yeah, I'm on gnome here. Thanks for the tip, will try it out and report! :-)

Offline

#4 2008-07-04 11:47:41

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [solved] Weird errors when dual-booting Arch & CentOS

This post from the Arch developer responsible for gnome may be useful:  http://bbs.archlinux.org/viewtopic.php? … 42#p389442.

Offline

#5 2008-07-04 15:38:25

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: [solved] Weird errors when dual-booting Arch & CentOS

As for the "superblock in the future" issue, check the clock settings between the two installations: my guess is that arch is set to UTC and CentOS on localtime (or viceversa). I have the same issue with Fedora and Arch, but only for the first boot of the new system.

Offline

#6 2008-07-04 16:00:20

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: [solved] Weird errors when dual-booting Arch & CentOS

new2arch wrote:

3) When I boot into Arch, the CentOS's partitions '/' and '/home' are every present on my Arch desktop. Is there any way disabling the automounts of these partitions without losing automount of other devices such as USB and CD-writer?

You could add your CentOS partitions to /etc/fstab, and then use the noauto option for them, which will prevent them from being mounted automatically.

Offline

#7 2008-07-04 16:13:22

new2arch
Member
Registered: 2008-02-25
Posts: 235

Re: [solved] Weird errors when dual-booting Arch & CentOS

daneel971 wrote:

As for the "superblock in the future" issue, check the clock settings between the two installations: my guess is that arch is set to UTC and CentOS on localtime (or viceversa). I have the same issue with Fedora and Arch, but only for the first boot of the new system.

Weird thing is, both systems' clock were configured to use UTC when I got those error messages. So I changed the UTC to local on my CentOS but now it seems I get those messages only when I boot CentOS.

Offline

#8 2008-07-04 16:14:41

new2arch
Member
Registered: 2008-02-25
Posts: 235

Re: [solved] Weird errors when dual-booting Arch & CentOS

fwojciec wrote:
new2arch wrote:

3) When I boot into Arch, the CentOS's partitions '/' and '/home' are every present on my Arch desktop. Is there any way disabling the automounts of these partitions without losing automount of other devices such as USB and CD-writer?

You could add your CentOS partitions to /etc/fstab, and then use the noauto option for them, which will prevent them from being mounted automatically.

Added these lines in fstab:

/dev/sda6 / ext3 noauto 0 0
/dev/sda7 /home ext3 noauto 0 0

Thanks, that did the trick!

@ thanks everybody for giving me valuable tips.

Offline

#9 2008-07-04 16:27:45

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: [solved] Weird errors when dual-booting Arch & CentOS

new2arch wrote:

Added these lines in fstab:

/dev/sda6 / ext3 noauto 0 0
/dev/sda7 /home ext3 noauto 0 0

Thanks, that did the trick!

@ thanks everybody for giving me valuable tips.

I'd recomment changing the values in fstab to something like:

/dev/sda6 /mnt/centos_root ext3 defaults,noauto 0 0
/dev/sda7 /mnt/centos_home ext3 defaults,noauto 0 0

You'll obviously need to create the appropriate directories in /mnt.  The reason for this is that you might need to mount these partitions at some stage, and you wouldn't want them to to be mounted over arch / and /home partitions.

Offline

#10 2008-07-04 20:52:37

new2arch
Member
Registered: 2008-02-25
Posts: 235

Re: [solved] Weird errors when dual-booting Arch & CentOS

fwojciec wrote:

I'd recomment changing the values in fstab to something like:

/dev/sda6 /mnt/centos_root ext3 defaults,noauto 0 0
/dev/sda7 /mnt/centos_home ext3 defaults,noauto 0 0

You'll obviously need to create the appropriate directories in /mnt.  The reason for this is that you might need to mount these partitions at some stage, and you wouldn't want them to to be mounted over arch / and /home partitions.

Thanks for pointing that out. But could my previous fstab entries wreck havoc to my system if I at some point chose to mount my partitions? When those were auto mounted I'm more or less certain that they showed up as "_/" and "_home" or something similar on my desktop. It seems Arch solved the problem on its own. But maybe I'm totally wrong here.

Last edited by new2arch (2008-07-04 20:53:30)

Offline

Board footer

Powered by FluxBB