Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
install grub fails "unable to remount in rw mode"[IGNORE]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 821
Location: Alaska

PostPosted: Sat Nov 08, 2014 7:34 am    Post subject: install grub fails "unable to remount in rw mode"[ Reply with quote

I'm trying to install via the handbook on a new intel based motherboard. I've booted into a live cd (systemrescue) and chrooted into the environment. I've installed the kernel no problem into /boot using "make install". So the partition is readable at that time. I've tried grub-2.02_beta2 and the -r2.

Code:
ERROR: preinst

Unable to remount in rw mode. Please do it manually!

ERROR: sys-boot/grub-2.02_beta2::gentoo failed (preinst phase):
  Can't remount in rw mode. Please do it manually!


This have something to do with UEFI? I've got that small EF partition on /dev/sda1 and /boot on /dev/sda2 with EXT2. I've tried remounting /boot using "mount -t ext2 /dev/sda2 /boot" which seems to work but the grub install always fails.

Help?

[edit] this happens with grub-0.97 legacy too.


Last edited by hunky on Sun Nov 09, 2014 2:45 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Sat Nov 08, 2014 8:50 pm    Post subject: Reply with quote

boot the sysresccd, mount the gentoo partitions, enter the chroot, run
Code:
 mount
verify the output shows that the /boot partition is mounted rw , if not remount it read write, with /boot mounted rw rerun the
Code:
grub2-install /dev/sda
presuming that the gentoo disk is /dev/sda and that it is a bios/mbr labeled disk. If you prefer legacy grub
Code:
emerge grub:0


With sysresccd booted to a gui you can copy and paste from the working terminal window to a browser window open here. If very lengthy, emerge wgetpaste in the chroot terminal and use it.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 821
Location: Alaska

PostPosted: Sun Nov 09, 2014 12:07 am    Post subject: Reply with quote

Thanks Donahue,

I've forged ahead so abandoned that tact. I was trying to avoid learning much about UEFI since I wasn't going to dual boot or anything but got drawn in as I searched for a solution to my above problem. I ended up using UEFI to boot - seems to be working.. no fstab boot, no grub. I'll see what sort of problems I run into in the future here, and remembering what I did will be hard because the info is so spread about various wikis and blogs.

My above problem though.. don't you have to emerge grub before running grub-install? I was trying to emerge it. Boot seemed writeable because I was able to install the kernel in there fine.

So I suppose I'll mark the thread solved unless someone has a better idea. /jd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum