Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New 4.12.12 install with minimal bash like ...[SOLVED]
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
intord
n00b
n00b


Joined: 12 Aug 2017
Posts: 33

PostPosted: Sat Oct 14, 2017 8:34 pm    Post subject: New 4.12.12 install with minimal bash like ...[SOLVED] Reply with quote

Hi guys,

just curios here: installed using the latest stage3 and hybrid dvd, did step by step all the steps until the first reboot and after reboot it says:

Minimal BASH-like line editing ...

rebooted loaded from live dvd again, checked /boot partition ... where should be the problem?

setup exactly same as in the handbook.

did anybody tried to do a fresh install with 4.12.12?


Last edited by intord on Sun Oct 15, 2017 11:42 pm; edited 3 times in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7134
Location: almost Mile High in the USA

PostPosted: Sat Oct 14, 2017 10:40 pm    Post subject: Reply with quote

The minimal bash-like editing message is from GRUB.

What you should check: your grub.cfg or menu.lst depending on which version of grub you're using. You should see this file in /grub/ in your boot partition (so /boot/grub/ if you have it mounted)

The right procedure from here is dependent on how you ran grub-install (and how your partitions were set up)...

One thing that could help people out is

Code:
# cd /path/to/your/boot/partition; ln -s . boot


This will tell grub to fake it if you had grub installed onto your hard drive a bit weird.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
intord
n00b
n00b


Joined: 12 Aug 2017
Posts: 33

PostPosted: Sat Oct 14, 2017 11:17 pm    Post subject: Reply with quote

this is what i have in the /boot partition.

Code:

/boot/
|-- EFI
|   |-- efi
|   |   `-- boot
|   |       `-- grubx64.efi
|   `-- gentoo
|       `-- grubx64.efi
|-- System.map-4.12.12-gentoo
|-- boot.tree
|-- config-4.12.12-gentoo
|-- grub
|   |-- fonts
|   |   `-- unicode.pf2
|   |-- grub.conf
|   |-- grubenv
|   |-- locale
|   |   |-- ast.mo
|   |   |-- ca.mo
|   |   |-- da.mo
|   |   |-- de.mo
|   |   |-- de@hebrew.mo
|   |   |-- de_CH.mo
|   |   |-- en@arabic.mo
|   |   |-- en@cyrillic.mo
|   |   |-- en@greek.mo
|   |   |-- en@hebrew.mo
|   |   |-- en@piglatin.mo
|   |   |-- en@quot.mo
|   |   |-- eo.mo
|   |   |-- es.mo
|   |   |-- fi.mo
|   |   |-- fr.mo
|   |   |-- gl.mo
|   |   |-- hr.mo
|   |   |-- hu.mo
|   |   |-- id.mo
|   |   |-- it.mo
|   |   |-- ja.mo
|   |   |-- ko.mo
|   |   |-- lt.mo
|   |   |-- nb.mo
|   |   |-- nl.mo
|   |   |-- pa.mo
|   |   |-- pl.mo
|   |   |-- pt_BR.mo
|   |   |-- ru.mo
|   |   |-- sl.mo
|   |   |-- sr.mo
|   |   |-- sv.mo
|   |   |-- tr.mo
|   |   |-- uk.mo
|   |   |-- vi.mo
|   |   |-- zh_CN.mo
|   |   `-- zh_TW.mo
|   |-- themes
|   |   `-- starfield
|   |       |-- COPYING.CC-BY-SA-3.0
|   |       |-- README
|   |       |-- blob_w.png
|   |       |-- boot_menu_c.png
|   |       |-- boot_menu_e.png
|   |       |-- boot_menu_n.png
|   |       |-- boot_menu_ne.png
|   |       |-- boot_menu_nw.png
|   |       |-- boot_menu_s.png
|   |       |-- boot_menu_se.png
|   |       |-- boot_menu_sw.png
|   |       |-- boot_menu_w.png
|   |       |-- dejavu_10.pf2
|   |       |-- dejavu_12.pf2
|   |       |-- dejavu_14.pf2
|   |       |-- dejavu_16.pf2
|   |       |-- dejavu_bold_14.pf2
|   |       |-- slider_c.png
|   |       |-- slider_n.png
|   |       |-- slider_s.png
|   |       |-- starfield.png
|   |       |-- terminal_box_c.png
|   |       |-- terminal_box_e.png
|   |       |-- terminal_box_n.png
|   |       |-- terminal_box_ne.png
|   |       |-- terminal_box_nw.png
|   |       |-- terminal_box_s.png
|   |       |-- terminal_box_se.png
|   |       |-- terminal_box_sw.png
|   |       |-- terminal_box_w.png
|   |       `-- theme.txt
|   `-- x86_64-efi
|       |-- acpi.mod
|       |-- adler32.mod
|       |-- affs.mod
|       |-- afs.mod
|       |-- ahci.mod
|       |-- all_video.mod
|       |-- aout.mod
|       |-- appleldr.mod
|       |-- archelp.mod
|       |-- at_keyboard.mod
|       |-- ata.mod
|       |-- backtrace.mod
|       |-- bfs.mod
|       |-- bitmap.mod
|       |-- bitmap_scale.mod
|       |-- blocklist.mod
|       |-- boot.mod
|       |-- bsd.mod
|       |-- bswap_test.mod
|       |-- btrfs.mod
|       |-- bufio.mod
|       |-- cat.mod
|       |-- cbfs.mod
|       |-- cbls.mod
|       |-- cbmemc.mod
|       |-- cbtable.mod
|       |-- cbtime.mod
|       |-- chain.mod
|       |-- cmdline_cat_test.mod
|       |-- cmp.mod
|       |-- cmp_test.mod
|       |-- command.lst
|       |-- configfile.mod
|       |-- core.efi
|       |-- cpio.mod
|       |-- cpio_be.mod
|       |-- cpuid.mod
|       |-- crc64.mod
|       |-- crypto.lst
|       |-- crypto.mod
|       |-- cryptodisk.mod
|       |-- cs5536.mod
|       |-- ctz_test.mod
|       |-- date.mod
|       |-- datehook.mod
|       |-- datetime.mod
|       |-- disk.mod
|       |-- diskfilter.mod
|       |-- div.mod
|       |-- div_test.mod
|       |-- dm_nv.mod
|       |-- echo.mod
|       |-- efi_gop.mod
|       |-- efi_uga.mod
|       |-- efifwsetup.mod
|       |-- efinet.mod
|       |-- ehci.mod
|       |-- elf.mod
|       |-- eval.mod
|       |-- exfat.mod
|       |-- exfctest.mod
|       |-- ext2.mod
|       |-- extcmd.mod
|       |-- fat.mod
|       |-- file.mod
|       |-- fixvideo.mod
|       |-- font.mod
|       |-- fs.lst
|       |-- fshelp.mod
|       |-- functional_test.mod
|       |-- gcry_arcfour.mod
|       |-- gcry_blowfish.mod
|       |-- gcry_camellia.mod
|       |-- gcry_cast5.mod
|       |-- gcry_crc.mod
|       |-- gcry_des.mod
|       |-- gcry_dsa.mod
|       |-- gcry_idea.mod
|       |-- gcry_md4.mod
|       |-- gcry_md5.mod
|       |-- gcry_rfc2268.mod
|       |-- gcry_rijndael.mod
|       |-- gcry_rmd160.mod
|       |-- gcry_rsa.mod
|       |-- gcry_seed.mod
|       |-- gcry_serpent.mod
|       |-- gcry_sha1.mod
|       |-- gcry_sha256.mod
|       |-- gcry_sha512.mod
|       |-- gcry_tiger.mod
|       |-- gcry_twofish.mod
|       |-- gcry_whirlpool.mod
|       |-- geli.mod
|       |-- gettext.mod
|       |-- gfxmenu.mod
|       |-- gfxterm.mod
|       |-- gfxterm_background.mod
|       |-- gfxterm_menu.mod
|       |-- gptsync.mod
|       |-- grub.efi
|       |-- gzio.mod
|       |-- halt.mod
|       |-- hashsum.mod
|       |-- hdparm.mod
|       |-- hello.mod
|       |-- help.mod
|       |-- hexdump.mod
|       |-- hfs.mod
|       |-- hfsplus.mod
|       |-- hfspluscomp.mod
|       |-- http.mod
|       |-- iorw.mod
|       |-- iso9660.mod
|       |-- jfs.mod
|       |-- jpeg.mod
|       |-- keylayouts.mod
|       |-- keystatus.mod
|       |-- ldm.mod
|       |-- legacy_password_test.mod
|       |-- legacycfg.mod
|       |-- linux.mod
|       |-- linux16.mod
|       |-- loadbios.mod
|       |-- loadenv.mod
|       |-- loopback.mod
|       |-- ls.mod
|       |-- lsacpi.mod
|       |-- lsefi.mod
|       |-- lsefimmap.mod
|       |-- lsefisystab.mod
|       |-- lsmmap.mod
|       |-- lspci.mod
|       |-- lssal.mod
|       |-- luks.mod
|       |-- lvm.mod
|       |-- lzopio.mod
|       |-- macbless.mod
|       |-- macho.mod
|       |-- mdraid09.mod
|       |-- mdraid09_be.mod
|       |-- mdraid1x.mod
|       |-- memdisk.mod
|       |-- memrw.mod
|       |-- minicmd.mod
|       |-- minix.mod
|       |-- minix2.mod
|       |-- minix2_be.mod
|       |-- minix3.mod
|       |-- minix3_be.mod
|       |-- minix_be.mod
|       |-- mmap.mod
|       |-- moddep.lst
|       |-- modinfo.sh
|       |-- morse.mod
|       |-- mpi.mod
|       |-- msdospart.mod
|       |-- mul_test.mod
|       |-- multiboot.mod
|       |-- multiboot2.mod
|       |-- nativedisk.mod
|       |-- net.mod
|       |-- newc.mod
|       |-- nilfs2.mod
|       |-- normal.mod
|       |-- ntfs.mod
|       |-- ntfscomp.mod
|       |-- odc.mod
|       |-- offsetio.mod
|       |-- ohci.mod
|       |-- part_acorn.mod
|       |-- part_amiga.mod
|       |-- part_apple.mod
|       |-- part_bsd.mod
|       |-- part_dfly.mod
|       |-- part_dvh.mod
|       |-- part_gpt.mod
|       |-- part_msdos.mod
|       |-- part_plan.mod
|       |-- part_sun.mod
|       |-- part_sunpc.mod
|       |-- partmap.lst
|       |-- parttool.lst
|       |-- parttool.mod
|       |-- password.mod
|       |-- password_pbkdf2.mod
|       |-- pata.mod
|       |-- pbkdf2.mod
|       |-- pbkdf2_test.mod
|       |-- pcidump.mod
|       |-- play.mod
|       |-- png.mod
|       |-- priority_queue.mod
|       |-- probe.mod
|       |-- procfs.mod
|       |-- progress.mod
|       |-- raid5rec.mod
|       |-- raid6rec.mod
|       |-- random.mod
|       |-- read.mod
|       |-- reboot.mod
|       |-- regexp.mod
|       |-- reiserfs.mod
|       |-- relocator.mod
|       |-- romfs.mod
|       |-- scsi.mod
|       |-- search.mod
|       |-- search_fs_file.mod
|       |-- search_fs_uuid.mod
|       |-- search_label.mod
|       |-- serial.mod
|       |-- setjmp.mod
|       |-- setjmp_test.mod
|       |-- setpci.mod
|       |-- sfs.mod
|       |-- shift_test.mod
|       |-- signature_test.mod
|       |-- sleep.mod
|       |-- sleep_test.mod
|       |-- spkmodem.mod
|       |-- squash4.mod
|       |-- syslinuxcfg.mod
|       |-- tar.mod
|       |-- terminal.lst
|       |-- terminal.mod
|       |-- terminfo.mod
|       |-- test.mod
|       |-- test_blockarg.mod
|       |-- testload.mod
|       |-- testspeed.mod
|       |-- tftp.mod
|       |-- tga.mod
|       |-- time.mod
|       |-- tr.mod
|       |-- trig.mod
|       |-- true.mod
|       |-- udf.mod
|       |-- ufs1.mod
|       |-- ufs1_be.mod
|       |-- ufs2.mod
|       |-- uhci.mod
|       |-- usb.mod
|       |-- usb_keyboard.mod
|       |-- usbms.mod
|       |-- usbserial_common.mod
|       |-- usbserial_ftdi.mod
|       |-- usbserial_pl2303.mod
|       |-- usbserial_usbdebug.mod
|       |-- usbtest.mod
|       |-- verify.mod
|       |-- video.lst
|       |-- video.mod
|       |-- video_bochs.mod
|       |-- video_cirrus.mod
|       |-- video_colors.mod
|       |-- video_fb.mod
|       |-- videoinfo.mod
|       |-- videotest.mod
|       |-- videotest_checksum.mod
|       |-- xfs.mod
|       |-- xnu.mod
|       |-- xnu_uuid.mod
|       |-- xnu_uuid_test.mod
|       |-- xzio.mod
|       |-- zfs.mod
|       |-- zfscrypt.mod
|       `-- zfsinfo.mod
|-- initramfs-genkernel-x86_64-4.12.12-gentoo
`-- vmlinuz-4.12.12-gentoo


from what i understood looking online, mainly the problem here happens when ppl replaced/forgot/changed grub.conf which in my case is actually auto-generated file, which i did not touch.

yes this is a efi system with grub:2.

particularly the command i ran was

Code:

grub-install --target=x86_64-efi --efi-directory=/boot
grub-mkconfig -o /boot/grub/grub.cfg


no error output from either command.

Code:

GRUB_PLATFORMS="efi-64"


in the make.conf

so here is grub.conf just in case:

Code:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  191758ec-24d0-471e-9dc6-935c5fb648d5
else
  search --no-floppy --fs-uuid --set=root 191758ec-24d0-471e-9dc6-935c5fb648d5
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-191758ec-24d0-471e-9dc6-935c5fb648d5' {
   load_video
   if [ "x$grub_platform" = xefi ]; then
      set gfxpayload=keep
   fi
   insmod gzio
   insmod part_gpt
   insmod fat
   set root='hd0,gpt2'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  B580-227C
   else
     search --no-floppy --fs-uuid --set=root B580-227C
   fi
   echo   'Loading Linux 4.12.12-gentoo ...'
   linux   /vmlinuz-4.12.12-gentoo root=UUID=191758ec-24d0-471e-9dc6-935c5fb648d5 ro 
   echo   'Loading initial ramdisk ...'
   initrd   /initramfs-genkernel-x86_64-4.12.12-gentoo
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-191758ec-24d0-471e-9dc6-935c5fb648d5' {
   menuentry 'Gentoo GNU/Linux, with Linux 4.12.12-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.12-gentoo-advanced-191758ec-24d0-471e-9dc6-935c5fb648d5' {
      load_video
      if [ "x$grub_platform" = xefi ]; then
         set gfxpayload=keep
      fi
      insmod gzio
      insmod part_gpt
      insmod fat
      set root='hd0,gpt2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  B580-227C
      else
        search --no-floppy --fs-uuid --set=root B580-227C
      fi
      echo   'Loading Linux 4.12.12-gentoo ...'
      linux   /vmlinuz-4.12.12-gentoo root=UUID=191758ec-24d0-471e-9dc6-935c5fb648d5 ro 
      echo   'Loading initial ramdisk ...'
      initrd   /initramfs-genkernel-x86_64-4.12.12-gentoo
   }
   menuentry 'Gentoo GNU/Linux, with Linux 4.12.12-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.12.12-gentoo-recovery-191758ec-24d0-471e-9dc6-935c5fb648d5' {
      load_video
      if [ "x$grub_platform" = xefi ]; then
         set gfxpayload=keep
      fi
      insmod gzio
      insmod part_gpt
      insmod fat
      set root='hd0,gpt2'
      if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  B580-227C
      else
        search --no-floppy --fs-uuid --set=root B580-227C
      fi
      echo   'Loading Linux 4.12.12-gentoo ...'
      linux   /vmlinuz-4.12.12-gentoo root=UUID=191758ec-24d0-471e-9dc6-935c5fb648d5 ro single
      echo   'Loading initial ramdisk ...'
      initrd   /initramfs-genkernel-x86_64-4.12.12-gentoo
   }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7134
Location: almost Mile High in the USA

PostPosted: Sun Oct 15, 2017 12:02 am    Post subject: Reply with quote

Try renaming your grub.conf to grub.cfg ... that gets me all the time.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
intord
n00b
n00b


Joined: 12 Aug 2017
Posts: 33

PostPosted: Sun Oct 15, 2017 12:11 am    Post subject: Reply with quote

thanks, this did the trick.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7134
Location: almost Mile High in the USA

PostPosted: Sun Oct 15, 2017 12:50 am    Post subject: Reply with quote

Great!

Make sure you mark the topic as [SOLVED].
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
intord
n00b
n00b


Joined: 12 Aug 2017
Posts: 33

PostPosted: Sun Oct 15, 2017 9:15 pm    Post subject: Re: New 4.12.12 install with problems Reply with quote

sorry guys have to reopen the same topic again: after almost 2 days of installation tried to make an image with CloneZilla 2.0.5 and 2.2.15 and grub partition failed to save.

gparted shows an error on the grub partition. message on the partition:

Code:

Unale to read a content of this filesystem! This cause might be a missing software package. the following system software required for FAT32 system support: dosfstools, mtools


message from clonezilla:

Code:

Run partclone: partclone.vfat -z 10485760 -N -L /var/log/partclone.log -c -s /dev/sda1 --output - | pigz -c --fast -b 1024 -p 16 --rsyncable | split -a 2 -b 4096MB - /home/partimag/Gentoo-KDE-2017-10-15/sda1.vfat-ptcl-img.gz. 2> /tmp/split_error.838mxC
Partclone v0.2.89 http://partclone.org
Starting to clone device (/dev/sda1) to image (-)
Reading Super Block
we need memory: 81476 bytes
image head 4160, bitmap 76800, crc 516 bytes
Calculating bitmap... Please wait... done!
File system:  FAT32
Device size:  314.6 MB = 614400 Blocks
Space in use:  35.5 MB = 69368 Blocks
Free Space:   279.1 MB = 545032 Blocks
Block size:   512 Byte
Total block 614400
source seek ERROR:Invalid argument
*****************************************************.
Failed to save partition /dev/sda1.


again setup is exactly as in the handbook.

os itself boots fine.

google has only 1 post about this error above and really the suggestion is to try the latest clonezilla, which i used.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7134
Location: almost Mile High in the USA

PostPosted: Sun Oct 15, 2017 10:42 pm    Post subject: Reply with quote

Might want to open a new topic as this is unrelated to the initial grub issue, and probably belongs in the unsupported software as I don't think Gentoo has clonezilla yet...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
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