You are not logged in.

#1 2014-10-30 17:05:15

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Grub boot problems[SOLVED~! Thank you!]

Okay  so when i boot my system from ether hard drive  it doesnt boot  it drops me into a grub shell   but when i do "boot from first hard disk" in the varous LINUX distros  it boots fine
i did  grub-install /dev/sda
grub-install /dev/sdb
grub-install /dev/sdb1

sda is an NTFS drive  but im creating a small fat32 filesystem for it

Last edited by fennectech (2014-11-10 23:41:45)


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#2 2014-10-30 17:47:24

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Grub boot problems[SOLVED~! Thank you!]

Why did you install grub on on multiple harddisks? On which drive is arch installed and what is in your grub.cfg?

Offline

#3 2014-10-30 18:09:29

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: Grub boot problems[SOLVED~! Thank you!]

my grub.cfg is on /dev/sdb1
i wantented any disk booted to load into linux   but bolth of them only boot into grub rescue


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#4 2014-10-30 18:17:37

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: Grub boot problems[SOLVED~! Thank you!]

[fennectech@archroot ~]$ cat /boot/grub/grub.cfg
cat: /boot/grub/grub.cfg: Permission denied
[fennectech@archroot ~]$ sudo cat /boot/grub/grub.cfg
[sudo] password for fennectech: 
#
# 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 ###
insmod part_gpt
insmod part_msdos
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_msdos 
insmod btrfs
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b36545b8-9b1c-4e9a-9705-3e0a7b4d6871
else
  search --no-floppy --fs-uuid --set=root b36545b8-9b1c-4e9a-9705-3e0a7b4d6871
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_input console
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 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b36545b8-9b1c-4e9a-9705-3e0a7b4d6871' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos 
	insmod btrfs
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b36545b8-9b1c-4e9a-9705-3e0a7b4d6871
	else
	  search --no-floppy --fs-uuid --set=root b36545b8-9b1c-4e9a-9705-3e0a7b4d6871
	fi
	echo	'Loading Linux linux ...'
	linux	/boot/vmlinuz-linux root=UUID=b36545b8-9b1c-4e9a-9705-3e0a7b4d6871 rw  
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-b36545b8-9b1c-4e9a-9705-3e0a7b4d6871' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-b36545b8-9b1c-4e9a-9705-3e0a7b4d6871' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos 
		insmod btrfs
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b36545b8-9b1c-4e9a-9705-3e0a7b4d6871
		else
		  search --no-floppy --fs-uuid --set=root b36545b8-9b1c-4e9a-9705-3e0a7b4d6871
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=b36545b8-9b1c-4e9a-9705-3e0a7b4d6871 rw  
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-b36545b8-9b1c-4e9a-9705-3e0a7b4d6871' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos 
		insmod btrfs
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  b36545b8-9b1c-4e9a-9705-3e0a7b4d6871
		else
		  search --no-floppy --fs-uuid --set=root b36545b8-9b1c-4e9a-9705-3e0a7b4d6871
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=b36545b8-9b1c-4e9a-9705-3e0a7b4d6871 rw  
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initramfs-linux-fallback.img
	}
}

### 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 ###

### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###

OOPS   that was the wrong machines   i just replaced that with the right one

[fennectech@archroot ~]$ cat /etc/fstab
# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# UUID=b36545b8-9b1c-4e9a-9705-3e0a7b4d6871
/dev/sdb1           	/         	btrfs     	rw,relatime,space_cache0 0

theres fstab

Last edited by fennectech (2014-10-30 19:12:09)


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#5 2014-10-30 18:24:34

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: Grub boot problems[SOLVED~! Thank you!]

Chack your fstab.

Offline

#6 2014-10-30 19:06:34

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: Grub boot problems[SOLVED~! Thank you!]

for what?


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#7 2014-10-30 19:12:47

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: Grub boot problems[SOLVED~! Thank you!]

i just updated te prevous post


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#8 2014-10-30 22:01:36

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

Re: Grub boot problems[SOLVED~! Thank you!]

Are you sure you selected the right boot order in BIOS?

Offline

#9 2014-10-30 22:12:37

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: Grub boot problems[SOLVED~! Thank you!]

@Carl
Since he installed grub to both HDD's MBR.

@fennectech
Check if everything is mounted correctly in fstab. Maybe something is out of place.

Offline

#10 2014-10-30 22:27:33

fennectech
Member
From: /home/fennectech/
Registered: 2014-06-04
Posts: 169

Re: Grub boot problems[SOLVED~! Thank you!]

okay so after creating a EXT4 partition grub happily boots now  when started from sda1    this problem is now solved!     it only involved moving 150 gigabytes 512 megs to the left xD


[FennecTECH@ArchOS ~]$ cat about_myself
Hello there my name is FennecTECH I am a novice arch user though I am here to learn  I live in central Minnesota where I hangout in the console and make my way into X11. Nice to meet you all! Enjoy my home directory feel free to poke around. There is a solution to every problem, so long as you do not break the laws of physics.
=^_^=
[FennecTECH@ArchOS ~]$

Offline

#11 2014-11-07 13:46:04

thearcherblog
Member
Registered: 2014-10-30
Posts: 165

Re: Grub boot problems[SOLVED~! Thank you!]

Please, edit your first post and mark it as solved.

Regards,


TheArcher

Offline

Board footer

Powered by FluxBB