You are not logged in.

#1 2012-06-25 01:36:15

keepitsimpleengineer
Member
From: San Joaquin Valley, CA
Registered: 2012-06-25
Posts: 382

[SOLVED] New first test install hangs in boot?

I'm trying out Arch linux, looking to replace my trusty, well used ubuntu 10.04 LTS distro...

So I add a new 500GB drive, pre-partition it with swap, /boot, /root & /home.

Install from net-install 2011.08.19 x86_64 CD, reformat with swap, /boot ext2, /root ext2 and /home ext4.  Set nearby kernel.org as mirror, eschewed a new boot-loader by using existing grub2 on another volume/OS.

Set minimal repositories and skinny install, only using Xfce.

Hardware is nvidia graphic adapters with two monitors and nvidia 780i chip-set, mounts 7 hard-drives and runs WinXPx64/Vista64/Ubuntu10.04LTS/Unbuntu12.04.

Finished the install, booted to other OS and ran update-grub, then booted ArchLinux.

First boot hung without any screen display, required hardware reset.

2nd boot in fallback, got message "mounted root, could not find /sbin/init"

Checked from other OS, it exists, checked dmesg (which stopped after mounting disks) and couldn't tell much from it.

Looking for a little guidance, please....

Last edited by keepitsimpleengineer (2012-08-04 01:36:28)


Al Einstein: "Man soll die Dinge so einfach machen wie möglich ~ aber nicht einfacher." (Things should be as simple as possible ~ but not too simple.) ~ Al (Einstein) war ein Cousin von Albert, "Al" ist die Abkürzung für Aloysius

Offline

#2 2012-06-25 01:38:26

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] New first test install hangs in boot?

keepitsimpleengineer wrote:

2nd boot in fallback, got message "mounted root, could not find /sbin/init"

Generally this means you're mounting the wrong device as root.

Offline

#3 2012-06-25 01:59:27

keepitsimpleengineer
Member
From: San Joaquin Valley, CA
Registered: 2012-06-25
Posts: 382

Re: [SOLVED] New first test install hangs in boot?

falconindy wrote:

Generally this means you're mounting the wrong device as root.

Apparently not, and I sure hoped it was.......

from arch linux fstab...
#
# /etc/fstab: static file system information
#
# <file system>    <dir>    <type>    <options>    <dump>    <pass>
tmpfs        /tmp    tmpfs    nodev,nosuid    0    0
#UUID=3b93366a-5715-4841-aa52-1567a9877fb9 /boot ext2 defaults 0 1
#UUID=45c56d5b-145e-4c45-a932-cb9a1b639b90 / ext2 defaults 0 1
#UUID=68321e8e-f09a-4bdd-9f2b-84134390a057 swap swap defaults 0 0
#UUID=afbd28c5-2fa7-4e0d-b599-9057857c514d /home ext4 defaults 0 1
UUID=3b93366a-5715-4841-aa52-1567a9877fb9 /boot ext2 defaults 0 1
UUID=45c56d5b-145e-4c45-a932-cb9a1b639b90 / ext2 defaults 0 1  ····················<   
UUID=68321e8e-f09a-4bdd-9f2b-84134390a057 swap swap defaults 0 0
UUID=afbd28c5-2fa7-4e0d-b599-9057857c514d /home ext4 defaults 0 1

from blkid...
/dev/sda1: LABEL="boot" UUID="3b93366a-5715-4841-aa52-1567a9877fb9" TYPE="ext2"
/dev/sda2: LABEL="root" UUID="45c56d5b-145e-4c45-a932-cb9a1b639b90" TYPE="ext2"  ····················<
/dev/sda3: UUID="68321e8e-f09a-4bdd-9f2b-84134390a057" TYPE="swap"
/dev/sda5: LABEL="home" UUID="afbd28c5-2fa7-4e0d-b599-9057857c514d" TYPE="ext4"
/dev/sda6: LABEL="arch_adj" UUID="71603d5a-49d8-56b5-7c53-4d7d3f2ceace" TYPE="reiserfs"


Al Einstein: "Man soll die Dinge so einfach machen wie möglich ~ aber nicht einfacher." (Things should be as simple as possible ~ but not too simple.) ~ Al (Einstein) war ein Cousin von Albert, "Al" ist die Abkürzung für Aloysius

Offline

#4 2012-06-25 02:11:00

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] New first test install hangs in boot?

keepitsimpleengineer wrote:

eschewed a new boot-loader by using existing grub2 on another volume/OS.

Please post the grub.cfg file from this other volume/OS.

Last edited by 2ManyDogs (2012-06-25 02:11:47)

Offline

#5 2012-06-25 02:16:36

keepitsimpleengineer
Member
From: San Joaquin Valley, CA
Registered: 2012-06-25
Posts: 382

Re: [SOLVED] New first test install hangs in boot?

2ManyDogs wrote:

Please post the grub.cfg file from this other volume/OS.


Wow-wrong UUID-???

How to fix???


To wit:

#
# 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
  set have_grubenv=true
  load_env
fi
set default="${saved_entry}"
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 recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd5,msdos2)'
search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1280x800
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd5,msdos2)'
  search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd5,msdos2)'
search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
insmod tga
background_image -m stretch /usr/share/images/grub/Apollo_17_The_Last_Moon_Shot_Edit1.tga
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
play 480 440 1
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd5,msdos2)'
search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
insmod tga
if background_image /usr/share/images/grub/Apollo_17_The_Last_Moon_Shot_Edit1.tga; then
  true
else
  set menu_color_normal=white/black
  set menu_color_highlight=black/light-gray
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
set linux_gfx_mode=1280x800x8
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.2.0-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	savedefault
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	linux	/boot/vmlinuz-3.2.0-25-generic root=UUID=98396955-e718-4c04-83fa-b23dbb537615 ro   delayacct
	initrd	/boot/initrd.img-3.2.0-25-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	echo	'Loading Linux 3.2.0-25-generic ...'
	linux	/boot/vmlinuz-3.2.0-25-generic root=UUID=98396955-e718-4c04-83fa-b23dbb537615 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-25-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 2.6.38-15-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	savedefault
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	linux	/boot/vmlinuz-2.6.38-15-generic root=UUID=98396955-e718-4c04-83fa-b23dbb537615 ro   delayacct
	initrd	/boot/initrd.img-2.6.38-15-#
# 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
  set have_grubenv=true
  load_env
fi
set default="${saved_entry}"
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 recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd5,msdos2)'
search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1280x800
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd5,msdos2)'
  search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd5,msdos2)'
search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
insmod tga
background_image -m stretch /usr/share/images/grub/Apollo_17_The_Last_Moon_Shot_Edit1.tga
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
play 480 440 1
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd5,msdos2)'
search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
insmod tga
if background_image /usr/share/images/grub/Apollo_17_The_Last_Moon_Shot_Edit1.tga; then
  true
else
  set menu_color_normal=white/black
  set menu_color_highlight=black/light-gray
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
set linux_gfx_mode=1280x800x8
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.2.0-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	savedefault
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	linux	/boot/vmlinuz-3.2.0-25-generic root=UUID=98396955-e718-4c04-83fa-b23dbb537615 ro   delayacct
	initrd	/boot/initrd.img-3.2.0-25-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	echo	'Loading Linux 3.2.0-25-generic ...'
	linux	/boot/vmlinuz-3.2.0-25-generic root=UUID=98396955-e718-4c04-83fa-b23dbb537615 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-25-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 2.6.38-15-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	savedefault
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	linux	/boot/vmlinuz-2.6.38-15-generic root=UUID=98396955-e718-4c04-83fa-b23dbb537615 ro   delayacct
	initrd	/boot/initrd.img-2.6.38-15-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	echo	'Loading Linux 2.6.38-15-generic ...'
	linux	/boot/vmlinuz-2.6.38-15-generic root=UUID=98396955-e718-4c04-83fa-b23dbb537615 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38-15-generic
}
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Arch Linux (on /dev/sda2)" --class gnu-linux --class gnu --class os {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 3b93366a-5715-4841-aa52-1567a9877fb9
	linux /vmlinuz-linux root=/dev/sda2 ro
	initrd /initramfs-linux.img
}
menuentry "Arch Linux Fallback (on /dev/sda2)" --class gnu-linux --class gnu --class os {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 3b93366a-5715-4841-aa52-1567a9877fb9
	linux /vmlinuz-linux root=/dev/sda2 ro
	initrd /initramfs-linux-fallback.img
}
menuentry "Windows NT/2000/XP (loader) (on /dev/sdb1)" --class windows --class os {
	savedefault
	insmod part_msdos
	insmod ntfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 30D8EF5AD8EF1CBA
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry "Ubuntu, with Linux 2.6.32-41-generic (on /dev/sdd1)" --class gnu-linux --class gnu --class os {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='(hd3,msdos1)'
	search --no-floppy --fs-uuid --set=root 6a98b6c0-9ccf-477b-b197-d73c4162f581
	linux /boot/vmlinuz-2.6.32-41-generic root=UUID=6a98b6c0-9ccf-477b-b197-d73c4162f581 ro
	initrd /boot/initrd.img-2.6.32-41-generic
}
menuentry "Ubuntu, with Linux 2.6.32-41-generic (recovery mode) (on /dev/sdd1)" --class gnu-linux --class gnu --class os {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='(hd3,msdos1)'
	search --no-floppy --fs-uuid --set=root 6a98b6c0-9ccf-477b-b197-d73c4162f581
	linux /boot/vmlinuz-2.6.32-41-generic root=UUID=6a98b6c0-9ccf-477b-b197-d73c4162f581 ro single
	initrd /boot/initrd.img-2.6.32-41-generic
}
menuentry "Windows Vista (loader) (on /dev/sde1)" --class windows --class os {
	savedefault
	insmod part_msdos
	insmod ntfs
	set root='(hd4,msdos1)'
	search --no-floppy --fs-uuid --set=root E4E01930E0190A86
	chainloader +1
}
### 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  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
generic
}
menuentry 'Ubuntu, with Linux 2.6.38-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	echo	'Loading Linux 2.6.38-15-generic ...'
	linux	/boot/vmlinuz-2.6.38-15-generic root=UUID=98396955-e718-4c04-83fa-b23dbb537615 ro recovery nomodeset 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38-15-generic
}
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd5,msdos2)'
	search --no-floppy --fs-uuid --set=root 98396955-e718-4c04-83fa-b23dbb537615
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Arch Linux (on /dev/sda2)" --class gnu-linux --class gnu --class os {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 3b93366a-5715-4841-aa52-1567a9877fb9
	linux /vmlinuz-linux root=/dev/sda2 ro
	initrd /initramfs-linux.img
}
menuentry "Arch Linux Fallback (on /dev/sda2)" --class gnu-linux --class gnu --class os {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 3b93366a-5715-4841-aa52-1567a9877fb9
	linux /vmlinuz-linux root=/dev/sda2 ro
	initrd /initramfs-linux-fallback.img
}
menuentry "Windows NT/2000/XP (loader) (on /dev/sdb1)" --class windows --class os {
	savedefault
	insmod part_msdos
	insmod ntfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 30D8EF5AD8EF1CBA
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry "Ubuntu, with Linux 2.6.32-41-generic (on /dev/sdd1)" --class gnu-linux --class gnu --class os {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='(hd3,msdos1)'
	search --no-floppy --fs-uuid --set=root 6a98b6c0-9ccf-477b-b197-d73c4162f581
	linux /boot/vmlinuz-2.6.32-41-generic root=UUID=6a98b6c0-9ccf-477b-b197-d73c4162f581 ro
	initrd /boot/initrd.img-2.6.32-41-generic
}
menuentry "Ubuntu, with Linux 2.6.32-41-generic (recovery mode) (on /dev/sdd1)" --class gnu-linux --class gnu --class os {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='(hd3,msdos1)'
	search --no-floppy --fs-uuid --set=root 6a98b6c0-9ccf-477b-b197-d73c4162f581
	linux /boot/vmlinuz-2.6.32-41-generic root=UUID=6a98b6c0-9ccf-477b-b197-d73c4162f581 ro single
	initrd /boot/initrd.img-2.6.32-41-generic
}
menuentry "Windows Vista (loader) (on /dev/sde1)" --class windows --class os {
	savedefault
	insmod part_msdos
	insmod ntfs
	set root='(hd4,msdos1)'
	search --no-floppy --fs-uuid --set=root E4E01930E0190A86
	chainloader +1
}
### 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  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

Last edited by keepitsimpleengineer (2012-06-25 02:40:08)


Al Einstein: "Man soll die Dinge so einfach machen wie möglich ~ aber nicht einfacher." (Things should be as simple as possible ~ but not too simple.) ~ Al (Einstein) war ein Cousin von Albert, "Al" ist die Abkürzung für Aloysius

Offline

#6 2012-06-25 02:20:26

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] New first test install hangs in boot?

The best way is to copy all the lines generated by 30_os-prober out of grub.cfg (the lines between ### BEGIN /etc/grub.d/30_os-prober ### and ### END /etc/grub.d/30_os-prober ###) and put them in /etc/grub.d/40_custom. Then edit the Arch entries in 40_custom and save the file. Then make /etc/grub.d/30_os-prober non-executable (chmod -x) and run update-grub again.

The other way is to just edit grub.cfg and fix it, but os-prober will break it again the next time you run update-grub.

Last edited by 2ManyDogs (2012-06-25 02:32:20)

Offline

#7 2012-06-25 02:36:21

keepitsimpleengineer
Member
From: San Joaquin Valley, CA
Registered: 2012-06-25
Posts: 382

Re: [SOLVED] New first test install hangs in boot?

2ManyDogs wrote:

The other way is to just edit grub.cfg and fix it, but os-prober will break it again the next time you run update-grub.

Thanks....!

I tried this for quick and dirty but it didn't work.  I'll look at it in the morning with fresh brain.

Will post results...


Al Einstein: "Man soll die Dinge so einfach machen wie möglich ~ aber nicht einfacher." (Things should be as simple as possible ~ but not too simple.) ~ Al (Einstein) war ein Cousin von Albert, "Al" ist die Abkürzung für Aloysius

Offline

#8 2012-06-25 02:40:34

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] New first test install hangs in boot?

OK. Next time you post grub.cfg, please put it between [ code ] and [ /code ] tags (but take out the spaces between the brackets and the words "code" and "/code").

(edit) -- I see you already did this. Thanks!

Last edited by 2ManyDogs (2012-06-25 02:41:34)

Offline

#9 2012-06-25 19:46:34

keepitsimpleengineer
Member
From: San Joaquin Valley, CA
Registered: 2012-06-25
Posts: 382

Re: [SOLVED] New first test install hangs in boot?

keepitsimpleengineer wrote:
2ManyDogs wrote:

The other way is to just edit grub.cfg and fix it, but os-prober will break it again the next time you run update-grub.

Thanks....!

I tried this for quick and dirty but it didn't work.  I'll look at it in the morning with fresh brain.

Will post results...

So I tried both ways and then tried using grub2 command line and even "boot-repair" - no love.

Seems the file device names change with different kernels, and even with a USB drive mounted or not, a real circular firing squad roll

So I re-installed Arch Linux using the tried & true Grub and got a minimum system running.  As in hooray!

So I just boot from the BIOS boot selection.

The only hiccough now is Arch Linux shows up in 2nd monitor, kind of a pain·in·the·neck

Thanks for your assistance. cool


Al Einstein: "Man soll die Dinge so einfach machen wie möglich ~ aber nicht einfacher." (Things should be as simple as possible ~ but not too simple.) ~ Al (Einstein) war ein Cousin von Albert, "Al" ist die Abkürzung für Aloysius

Offline

#10 2012-06-26 01:18:34

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,143

Re: [SOLVED] New first test install hangs in boot?

Did you make a mistake in pasting grub.cfg or does the file really end midway and then start over again?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#11 2012-06-26 17:36:31

keepitsimpleengineer
Member
From: San Joaquin Valley, CA
Registered: 2012-06-25
Posts: 382

Re: [SOLVED] New first test install hangs in boot?

cfr wrote:

Did you make a mistake in pasting grub.cfg or does the file really end midway and then start over again?

Fat Pfinger Effect, thanks for letting me know...


Al Einstein: "Man soll die Dinge so einfach machen wie möglich ~ aber nicht einfacher." (Things should be as simple as possible ~ but not too simple.) ~ Al (Einstein) war ein Cousin von Albert, "Al" ist die Abkürzung für Aloysius

Offline

Board footer

Powered by FluxBB