Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB legacy boots to minimal install
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 1:47 am    Post subject: GRUB legacy boots to minimal install Reply with quote

https://www.youtube.com/watch?v=quvl9Pm0dqc&feature=youtube_gdata_player

Any ideas?


Last edited by J.I.N.X. on Fri Jan 03, 2014 3:09 am; edited 4 times in total
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4689
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 03, 2014 1:51 am    Post subject: Reply with quote

Post your grub.conf - my guess is you have no menu item activated.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 2:00 am    Post subject: Reply with quote

Jaglover wrote:
Post your grub.conf - my guess is you have no menu item activated.

Code:
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 15
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

Gentoo Linux
root (hd0,0)
#kernel /boot/vmlinuz-2.10.17-gentoo root=/dev/sda3
#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

# vim:ft=conf:
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4689
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 03, 2014 2:02 am    Post subject: Reply with quote

Yup, as I suspected ... your kernel along with initramfs is commented out. Change to:

Code:
kernel /boot/vmlinuz-2.10.17-gentoo root=/dev/sda3
initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 2:03 am    Post subject: Reply with quote

Jaglover wrote:
Yup, as I suspected ... your kernel along with initramfs is commented out. Change to:

Code:
kernel /boot/vmlinuz-2.10.17-gentoo root=/dev/sda3
initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

Oh Pppfffffff! Now I just feel like an idiot!

XD

Thanks!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 2:11 am    Post subject: Reply with quote

UPDATE: Nope... It's still doing the same thing after I fixed the menu.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4689
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 03, 2014 2:14 am    Post subject: Reply with quote

Shot in the dark ... do you have separate /boot partition, did you mount it before fixing your grub.conf?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 2:20 am    Post subject: Reply with quote

Jaglover wrote:
Shot in the dark ... do you have separate /boot partition, did you mount it before fixing your grub.conf?

I don't think so...

http://i.imgur.com/BGP2gts.png
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4689
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 03, 2014 2:23 am    Post subject: Reply with quote

Hmmm ... not helpful, really. Output of mount command, please?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 2:25 am    Post subject: Reply with quote

Jaglover wrote:
Hmmm ... not helpful, really. Output of mount command, please?

Error 27: Unrecognized command.

You did want the output of GRUB write?
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4689
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 03, 2014 2:30 am    Post subject: Reply with quote

mount is unrecognized command?
Something is very wrong, maybe you should tell more about your system state, are you running this command from CD/USB or chroot?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 2:31 am    Post subject: Reply with quote

Jaglover wrote:
mount is unrecognized command?
Something is very wrong, maybe you should tell more about your system state, are you running this command from CD/USB or chroot?

I was running this from the broken install of GRUB on my hard drive.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4689
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 03, 2014 2:57 am    Post subject: Reply with quote

mount is definitely not a GRUB command, you need to use valid GRUB commands to boot your system manually or boot from an external media.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 2:58 am    Post subject: Reply with quote

Jaglover wrote:
mount is definitely not a GRUB command, you need to use valid GRUB commands to boot your system manually or boot from an external media.

That's not... Never mind. I'll just reinstall.

UPDATE: It would seem it can be used by running:

Code:
kernel /boot/vmlinuz-3.10.17-gentoo root=/dev/sda3


Anyone know how to fix that?
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4689
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 03, 2014 3:12 am    Post subject: Reply with quote

Mount your /boot partition and fix your grub.conf. Reinstall is not a solution.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 3:13 am    Post subject: Reply with quote

Jaglover wrote:
Mount your /boot partition and fix your grub.conf. Reinstall is not a solution.

How do o do that?
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4689
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 03, 2014 3:15 am    Post subject: Reply with quote

You booted your kernel, right?
Now mount your /boot partition.
Edit your grub.conf so correct kernel image will be booted.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 3:56 am    Post subject: Reply with quote

Jaglover wrote:
You booted your kernel, right?
Now mount your /boot partition.
Edit your grub.conf so correct kernel image will be booted.

OK... Other than the commented lines and using 2 instead of 3 I had it fixed...

There, all edited... It's till booting weird...
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4689
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 03, 2014 4:03 am    Post subject: Reply with quote

Define booting weird?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 4:05 am    Post subject: Reply with quote

It still boots to the minimal install but running the command seems to work.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4689
Location: Saint Amant, Acadiana

PostPosted: Fri Jan 03, 2014 4:25 am    Post subject: Reply with quote

This means your grub.conf is still no good.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 4:31 am    Post subject: Reply with quote

Give me a moment to get something else working and I'll give you a copy of my /boot partition to review.
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Fri Jan 03, 2014 8:29 pm    Post subject: Reply with quote

Sorry that took so long... Here you go:

https://drive.google.com/file/d/0B6KIp8PVXLc2UnZOdW9PVmdjZHM/edit?usp=sharing
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Sat Jan 04, 2014 1:33 am    Post subject: Reply with quote

# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 15
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

Gentoo Linux
root (hd0,0)
kernel /boot/vmlinuz-3.10.17-gentoo root=/dev/sda3
# initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5 <-- delete or comment this line (or build and add an initrd/initramfs at /boot spelling the name correctly here)::appears to be a leftover from an example

# vim:ft=conf:
_________________
Defund the FCC.
Back to top
View user's profile Send private message
J.I.N.X.
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2013
Posts: 94

PostPosted: Sat Jan 04, 2014 2:53 am    Post subject: Reply with quote

Nope... That had no effect.
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
Goto page 1, 2  Next
Page 1 of 2

 
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