public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How to get inside of my faulty install?
@ 2015-03-01  5:58 German
  2015-03-01  8:47 ` Neil Bothwick
  2015-03-01  9:27 ` Matti Nykyri
  0 siblings, 2 replies; 4+ messages in thread
From: German @ 2015-03-01  5:58 UTC (permalink / raw
  To: gentoo-user

Now I need to get to /boot partition of my faulty install and edit gummiboot .conf file. Can someone walk me through on how to accomplish this? ( step-by-step commands ). Of course I have a rescuecd at my disposal. Thanks!

-- 
German <gentgerman@gmail.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] How to get inside of my faulty install?
  2015-03-01  5:58 [gentoo-user] How to get inside of my faulty install? German
@ 2015-03-01  8:47 ` Neil Bothwick
  2015-03-01  9:27 ` Matti Nykyri
  1 sibling, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2015-03-01  8:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

On Sun, 1 Mar 2015 00:58:35 -0500, German wrote:

> Now I need to get to /boot partition of my faulty install and edit
> gummiboot .conf file. Can someone walk me through on how to accomplish
> this? ( step-by-step commands ). Of course I have a rescuecd at my
> disposal. Thanks!

Boot from the rescue CD, mount your boot partition, edit the file. That's
it, there's no need to chroot if all you're doing is editing a file.

Is this a bigger change than you can make by pressing e at the Gummiboot
menu?


-- 
Neil Bothwick

On the other hand, you have different fingers.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] How to get inside of my faulty install?
  2015-03-01  5:58 [gentoo-user] How to get inside of my faulty install? German
  2015-03-01  8:47 ` Neil Bothwick
@ 2015-03-01  9:27 ` Matti Nykyri
  2015-03-01 18:44   ` German
  1 sibling, 1 reply; 4+ messages in thread
From: Matti Nykyri @ 2015-03-01  9:27 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

> On Mar 1, 2015, at 6:58, German <gentgerman@gmail.com> wrote:
> 
> Now I need to get to /boot partition of my faulty install and edit gummiboot .conf file. Can someone walk me through on how to accomplish this? ( step-by-step commands ). Of course I have a rescuecd at my disposal. Thanks!

Boot into the rescuecd
Open your first disk with gdisk or parted:
gdisk /dev/sda

List partitions (p<enter> in gdisk and print in parted)

Find a partition of the type EF00. That is your UEFI boot partition. Mark down the number of that partition. The number most likely 1.

If you didn't find EF00 partition search the next disk (sdb).

Mount your boot partition (in my setup it is sda1):
mkdir /uefipartition
mount -t vfat /dev/sda1 /uefipartition
nano /uefipartition/loader/entries/gentoo.conf

Just edit and save and you are done. If you have everything setup as in the wiki (http://wiki.gentoo.org/wiki/Gummiboot) this will work. Neil gave the same instructions... This is just a bit more detailed.

I like to always keep grub installed because it is like swiss army knife for booting. You can always get a shell and find your lost kernel image. Even if it is still in /usr/src... So you kind of like never render your system to an unbootable state. Nor would need to use rescue cd. And you can boot windows, memtest, chainload etc!

-- 
-Matti




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] How to get inside of my faulty install?
  2015-03-01  9:27 ` Matti Nykyri
@ 2015-03-01 18:44   ` German
  0 siblings, 0 replies; 4+ messages in thread
From: German @ 2015-03-01 18:44 UTC (permalink / raw
  To: gentoo-user

On Sun, 1 Mar 2015 10:27:49 +0100
Matti Nykyri <matti.nykyri@iki.fi> wrote:

> > On Mar 1, 2015, at 6:58, German <gentgerman@gmail.com> wrote:
> > 
> > Now I need to get to /boot partition of my faulty install and edit gummiboot .conf file. Can someone walk me through on how to accomplish this? ( step-by-step commands ). Of course I have a rescuecd at my disposal. Thanks!
> 
> Boot into the rescuecd
> Open your first disk with gdisk or parted:
> gdisk /dev/sda
> 
> List partitions (p<enter> in gdisk and print in parted)
> 
> Find a partition of the type EF00. That is your UEFI boot partition. Mark down the number of that partition. The number most likely 1.
> 
> If you didn't find EF00 partition search the next disk (sdb).
> 
> Mount your boot partition (in my setup it is sda1):
> mkdir /uefipartition
> mount -t vfat /dev/sda1 /uefipartition
> nano /uefipartition/loader/entries/gentoo.conf
> 

Thanks, worked like a charm. I was able to boot!


> Just edit and save and you are done. If you have everything setup as in the wiki (http://wiki.gentoo.org/wiki/Gummiboot) this will work. Neil gave the same instructions... This is just a bit more detailed.
> 
> I like to always keep grub installed because it is like swiss army knife for booting. You can always get a shell and find your lost kernel image. Even if it is still in /usr/src... So you kind of like never render your system to an unbootable state. Nor would need to use rescue cd. And you can boot windows, memtest, chainload etc!
> 
> -- 
> -Matti
> 
> 
> 


-- 
German <gentgerman@gmail.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-01 18:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-01  5:58 [gentoo-user] How to get inside of my faulty install? German
2015-03-01  8:47 ` Neil Bothwick
2015-03-01  9:27 ` Matti Nykyri
2015-03-01 18:44   ` German

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox