[gentoo-user] Re: grub installation problem

2011-01-12 Thread Nuno J. Silva
Jacques Montier jacques.mont...@numericable.fr writes:

 Hi all,

 I am installing Gentoo on a new pc and following the Gentoo manual.
 I create primary partition sda3 for boot with ext3 file system, then
 Extended partition for
 swap sda5
 / sda6 with reiserfs file system
 /usr sda7 with reiserfs file system
 /home sda8 with reiserfs fiel system.

 after chroot, i can install every package except grub in /boot.
 I get the message : your boot partition, detected as being mounted as
 /boot, is read-only.
 Remounting it in read-write mode ...
 Then the error message : failed to create symbolic link `//boot/boot` :
 Read-only file system.

 What's going on ???

I would check if there is any error or warning in the kernel log when
that happens.

just do
   dmesg | tail

after the error, to check the last lines in the log.

-- 
Nuno J. Silva
gopher://sdf-eu.org/1/users/njsg




Re: [gentoo-user] Re: grub installation problem

2011-01-12 Thread Jacques Montier
Le 12/01/2011 20:07, Nuno J. Silva a écrit :
 Jacques Montier jacques.mont...@numericable.fr writes:

 Hi all,

 I am installing Gentoo on a new pc and following the Gentoo manual.
 I create primary partition sda3 for boot with ext3 file system, then
 Extended partition for
 swap sda5
 / sda6 with reiserfs file system
 /usr sda7 with reiserfs file system
 /home sda8 with reiserfs fiel system.

 after chroot, i can install every package except grub in /boot.
 I get the message : your boot partition, detected as being mounted as
 /boot, is read-only.
 Remounting it in read-write mode ...
 Then the error message : failed to create symbolic link `//boot/boot` :
 Read-only file system.

 What's going on ???
 I would check if there is any error or warning in the kernel log when
 that happens.

 just do
dmesg | tail

 after the error, to check the last lines in the log.

Ther is no error message : just the lines
EXT3-fs (sda3): using internal journal


I see some warning about to avoid automounting and auto-installing with
/boot,
just export the DONT_MOUNT_BOOT variable

How can i do that ?

Thanks

Jacques






[gentoo-user] Re: grub installation problem

2011-01-12 Thread Nuno J. Silva
Jacques Montier jacques.mont...@numericable.fr writes:

 Le 12/01/2011 20:07, Nuno J. Silva a écrit :
 Jacques Montier jacques.mont...@numericable.fr writes:

 Hi all,

 I am installing Gentoo on a new pc and following the Gentoo manual.
 I create primary partition sda3 for boot with ext3 file system, then
 Extended partition for
 swap sda5
 / sda6 with reiserfs file system
 /usr sda7 with reiserfs file system
 /home sda8 with reiserfs fiel system.

 after chroot, i can install every package except grub in /boot.
 I get the message : your boot partition, detected as being mounted as
 /boot, is read-only.
 Remounting it in read-write mode ...
 Then the error message : failed to create symbolic link `//boot/boot` :
 Read-only file system.

 What's going on ???
 I would check if there is any error or warning in the kernel log when
 that happens.

 just do
dmesg | tail

 after the error, to check the last lines in the log.

 Ther is no error message : just the lines
 EXT3-fs (sda3): using internal journal

So there is no filesystem issue. Errors sometimes result in the
partition being remounted readonly.

Stroller has a point, read his post. As the mounted partitions list is
inside /proc, if you forgot to mount that, then maybe the ebuild can't
just find out /boot is actually mounted. There are probably other things
that might not work if you don't mount these partitions, so just to be
sure, check if you did that :-)

 I see some warning about to avoid automounting and auto-installing with
 /boot,
 just export the DONT_MOUNT_BOOT variable

 How can i do that ?

writing (and executing)

  export DONT_MOUNT_BOOT

in the shell should be enough.

-- 
Nuno J. Silva
gopher://sdf-eu.org/1/users/njsg