[indiana-discuss] SOLVED: Re: System boots to grub prompt
Lars Hecking
lhecking at users.sourceforge.net
Thu Jan 8 14:29:02 PST 2009
> > So, the Solaris partition is automounted under Gnome, and Gnome views it
> > as ext3. When the partition is unmounted normally, it will be marked clean,
> > which overwrites some ZFS data. Does that sound resonable?
> >
>
> Yes, it sounds... Are you able to mount it manually under Linux, without
> -t option? Or is it forced mount?
>
> Not unmount, but mount corrupted it already (by setting dirty bit and
> playing with journal probably).
For future reference, I'm posting the solution here although OpenSolaris
is really innocent in this case :)
In a situation like this, the Gnome desktop must not automount the disk
partition, and this is configured by setting up a HAL policy. On Gentoo,
HAL policies live in /etc/hal/fdi/policy.
$ cat 99-personal-rules.fdi
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<!-- Don't automount Solaris partition -->
<!-- http://forums.gentoo.org/viewtopic-t-717227-highlight-gnomemount.html -->
<device>
<match key="volume.uuid" string="6ab87379-1fd1-4508-9280-bd7a0230182f">
<merge key="volume.ignore" type="bool">true</merge>
</match>
</device>
</deviceinfo>
$
The volume.uuid value can be found using the commands hal-find-by-property
and hal-device.
More information about the indiana-discuss
mailing list