Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub on usb
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
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Sat Apr 04, 2015 5:57 pm    Post subject: grub on usb Reply with quote

I have been following the following guide:
http://www.gentoo-wiki.info/TinyGentoo

to install tiny gentoo on a USB flash drive, is there someway I can do the same steps(copying stage files) with grub2? maybe any other way I can install grub while using as little space as possible?



thanks
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Sat Apr 18, 2015 10:18 pm    Post subject: Reply with quote

blakdeath here help anyone?
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3131

PostPosted: Sun Apr 19, 2015 6:03 pm    Post subject: Reply with quote

You can install grub from host system. Copy files on pendrive and run regular installation from outside of chroot. Grub legacy has grub-install which allows you specify options like --root-directory=/mnt/pendrive /dev/flash. Interactive shell for manuall install is also available there, perhaps grub2 has similar features.
Definitely do not emerge it into your target. You will never need those tools again after you set it up, and you can set it from host. Or from some build environment - I used to start with a clean stage3 as a build root to raise a wall between my system and the one I was after.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Mon Apr 20, 2015 6:08 pm    Post subject: Reply with quote

hmmm I'm using grub2 and whenever I try installing that I get:
grub-install: warning: filesystem 'ext2' doesn't support embedding
grub-install: error: filesystem btrfs doesn't support blocklists

I have no btrfs partitions on that usb stick though, the only fs there is an ext4 fs

thanks
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