Boot issues with Linux Mint 14 Nadia xfce on solo instal . M2V mobo, 3Gb ram.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Boot issues with Linux Mint 14 Nadia xfce on solo instal . M2V mobo, 3Gb ram.
I'm getting an error when booting saying that the root device can't be found, and get pushed to a shell, causing the system to drop to a busybox initramfs shell on boot with a "Gave up waiting for root device." error. Wait a minute then I exit the initramfs shell by typing 'exit'. Booting then proceeds normally after os selection option..
Asus M2v mobo...3Gb ram... Athlon2.4 GHx ...120Gb ide HD
Linux Mint 14 Nadia xfce but had same problem with ubuntu 12.
Very microsoft competent but linux newbie trying to switch permanently. Any enlightenment gratefully received.
Last edited by filmtechie; 12-17-2012 at 09:03 AM.
Hi!
To help we need some more info.
Please boot from your live medium, run a Terminal / Konsole, copy and paste the following commands into it and post the outputs:
[I recently was booting from an Ubuntu DVD and show you parts of my outputs (green)!]
1.
Code:
uname -a
->
Code:
Linux ubuntu 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
2.
Code:
sudo su
or
Code:
su
to get admin rights
3.1
Code:
parted -l print
Code:
Disk /dev/sda: 256GB
Number Start End Size Type File system Flags
1 1049kB 211MB 210MB primary ext4
...
4 38,9GB 256GB 217GB extended
5 38,9GB 64,6GB 25,8GB logical ext4
...
"Gave up waiting for root device." error. Wait a minute then I exit the initramfs shell by typing 'exit'.
The boot loader is confused which device or at least waits for something from the device.
What boot loader are you using, Grub? (Legacy or Version 2?)
Quote:
Booting then proceeds normally after os selection option..
Then after all boot loader sees the device and realizes to boot into it..?
Quote:
Asus M2v mobo...3Gb ram... Athlon2.4 GHx ...120Gb ide HD
Linux Mint 14 Nadia xfce but had same problem with ubuntu 12.
The hardware is more than good enough. Linux Mint 14 is one of the best editions from Mint although it is only next to Mint 5 in all respects as an OS (I belong to the old school )
Quote:
Very microsoft competent but linux newbie trying to switch permanently. Any enlightenment gratefully received.
Ok. Since you have booted the OS completely the conclusion that from boot loader to the kernel and OS, essential things are in order. However, as your post goes, there is something wrong when boot loader initializes.
Can you post contents of /boot/grub/grub.cfg or /boot/grub/menu.lst whichever you currently have? Other areas you might want to investigate for causes are--
1) BIOS or EFI settings? How are these set to appear to the boot loader?
2) Device mapping according to the boot loader's perception?
3) Options and switches employed in the boot loader line.
mint@mint ~ $ uname -a
Linux mint 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
mint@mint ~ $ sudo su
mint mint # parted -1 print
parted: invalid option -- '1'
Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]
mint mint # parted-1 print
parted-1: command not found
mint mint # parted -1print
parted: invalid option -- '1'
parted: invalid option -- 'p'
parted: invalid option -- 'r'
parted: invalid option -- 'i'
parted: invalid option -- 'n'
parted: invalid option -- 't'
Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]
mint mint # su
mint mint # 3.1
3.1: command not found
mint mint # parted-1print
parted-1print: command not found
mint mint # parted =1 print
Error: Could not stat device =1 - No such file or directory.
Retry/Cancel? retry
Error: Could not stat device =1 - No such file or directory.
Retry/Cancel? cancel
mint mint # parted print
Error: Could not stat device print - No such file or directory.
Retry/Cancel? c
mint mint # parted * print
Warning: Unable to open /home/mint/Desktop read-write (Is a directory). /home/mint/Desktop has been opened read-only.
Error: The device /home/mint/Desktop has zero length, and can't possibly store a file system or partition table.
Perhaps you selected the wrong device?
mint mint # fdisk -1
fdisk: invalid option -- '1'
Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks
Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c[=<mode>] compatible mode: 'dos' or 'nondos' (default)
-h print this help text
-u[=<unit>] display units: 'cylinders' or 'sectors' (default)
-v print program version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track
mint mint # fdisk
Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks
Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c[=<mode>] compatible mode: 'dos' or 'nondos' (default)
-h print this help text
-u[=<unit>] display units: 'cylinders' or 'sectors' (default)
-v print program version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track
mint mint # fdisk -l
Disk /dev/sda: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders, total 143374650 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00091ba7
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 137084927 68541440 83 Linux
/dev/sda2 137086974 143374335 3143681 5 Extended
/dev/sda5 137086976 143374335 3143680 82 Linux swap / Solaris
mint mint # cat /etc/*{version.release}
cat: /etc/*{version.release}: No such file or directory
mint mint # cat/etc/*{version.release}
bash: cat/etc/*{version.release}: No such file or directory
mint mint #
Last edited by filmtechie; 12-20-2012 at 09:30 AM.
Reason: left some required info out
Hi filmtechie!
To avoid mistakes, please copy and paste commands suggested into the Terminal.
"l" is not the digit "1", but lowercase "L", spaces are important ( in4., after "cat"),...
Please try it again - by "copy and paste".
And to better read your post, please use code tags (symbol '#').
A very good help (but not up to date): http://forums.linuxmint.com/viewtopi...28#p366328/url
If you have boot loader Grub, you could post the output of
Code:
sudo fdisk -l 2>/dev/null | egrep "Disk /|/dev/" | sed "s#^/dev/#Part /dev/#" | awk '{print $2}' | sed 's/://' | xargs -n1 -IX sudo sh -c "hexdump -v -s 0x80 -n 2 -e '2/1 \"%x\" \"\\n\"' X | xargs -n1 -IY sh -c \"case \"Y\" in '48b4') echo X: GRUB 2 v1.96 ;; 'aa75' | '5272') echo X: GRUB Legacy ;; '7c3c') echo X: GRUB 2 v1.97 oder v1.98 ;; '020') echo X: GRUB 2 v1.99 ;; *) echo X: Kein GRUB Y ;; esac\""
I found it on the Wiki of ubuntuusers.de.
What do we know so far?
OS: Mint, kernel 3.5.0-17, 64 bit.
Partitions: sda1 = primary, sda2 extended with a logical partition, sda5 as swap.
Thank you Malek for your informative reply.
Some notes as follows
1. Have updated bios using floppy in dos to last one in 2008. I have searched the bios for possible problem settings and am not aware of any that should cause a problem, i have had XP and win 7 running on it occasionallywith no blips. The most recent bios file at Asus is the same as windows for linux. The bios update also recognised the cpu at last...,AMD 3800 Ahtlon 64.The BIOS is set to NO for pnp OS. There is no other hd or OS on this machine currently.
Analyse of system info on the mint install indicates all known devices (via chipsets are not my favourite) have requisite linux drivers and were ok, as was the pci NVidia card, and the scsi controller. I did notice there was no info on USB devices when sticks were present on one occasional where I was transferring info, but they were present on desktop as volumes.
2. Have tried previously with IDE 120 Gb drive with same result as present drive (75 Gb Scsi Maxtor Atlas 10k 111)which is on ultra scsi controller configured in bios and showing during boot in bios..drive has scsi id : 1
3.when booting from opsys dvd (burnt from downloaded iso) I notice that that the HD mounts as a volume, and can be accessed, but does not show on the desktop on eventually booting into its installed mint os. ( I am not yet au fait with mounting and unmounting procedures....some recollections of Mac 9.5 OS and another learning curve in AVID G3, G4 video Edit machines I had to deal with a few years back. I was a sound engineer with long experience in operational and technical Audio engineering. PC Hardware was relatively easy for me to pickup...have built a large no of machines for family, friends etc.
4. I have posted the (very messy....tired out at time...apologies to all) terminal output as requested by Alfredo, It will take some time for me to get used to the linux command line and its syntax. GUI tools in various windows versions have made me lazy. I do remember Dos and win 3.3 , 3.11 etc. many years back and still use dos windows & commands for fault finding but at 68 I probably need some adrenalin, and a brain defrag....although I am still playing squash, only doubles though.
5.These replies are currently on my XP main machine, although I have browsers installed, and a wired lan on the Mint 14 linux OS machine.. I have also done all updates via update manager and installed some utilities.
6.On first booting the machine ends up on a blank screen....on rebooting..... a flashing cursor appears top left ...after a short while it comes up with the " gave up waiting for root device etc" into an initramfs dialogue...typing "exit" it drops to an initramfs shell.(no knowledge as yet on command line queries or instructions)..on typing exit again a window shortly appears with 4 entry lines in top left hand corner....the OS partition detailed...the OS partition recovery mode, and two memtest options......hitting the top line it boots into the installed Mint 14 log in page. Mint incidentally seems user friendly for an old MS die-hard, once some new terms, and navigational procedures are figured out. Minimising windows and resizing is available, not like some linux distros I have seen recently. Skype seems a bit primitive in layout options etc compared to the latest version for windows. No repair install looks like a bit of a nuisance however. ...probably expect people to sort it out from the command line! Not over enamnoured with gparted either, probably because I do not understand the linux partition set up. Computers are a new learning curve every day insome aspect or another.
7.Why is it that the dvd automatic boot from dvd has no problem and I've got this aggro?
8.Will send requested files asap
Last edited by filmtechie; 12-20-2012 at 06:35 PM.
Reason: making item 7 clearer
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 71833599 35915776 83 Linux
/dev/sda2 71835646 78123007 3143681 5 Extended
/dev/sda5 71835648 78123007 3143680 82 Linux swap / Solaris
Disk /dev/sdb: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders, total 143374650 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 3998 MB, 3998810112 bytes
68 heads, 4 sectors/track, 28713 cylinders, total 7810176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0e35b6fd
Device Boot Start End Blocks Id System
/dev/sdc1 8064 7810175 3901056 c W95 FAT32 (LBA)
asus@asus-System-Product-Name ~ $
Below is grub config file
#
# 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="0"
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 recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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 ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 622f38fe-4cdc-405d-a46e-674df794f6e0
else
search --no-floppy --fs-uuid --set=root 622f38fe-4cdc-405d-a46e-674df794f6e0
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_GB
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_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
}
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 14 Xfce 64-bit, 3.5.0-17-generic (/dev/sda1)' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 622f38fe-4cdc-405d-a46e-674df794f6e0
else
search --no-floppy --fs-uuid --set=root 622f38fe-4cdc-405d-a46e-674df794f6e0
fi
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=622f38fe-4cdc-405d-a46e-674df794f6e0 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry 'Linux Mint 14 Xfce 64-bit, 3.5.0-17-generic (/dev/sda1) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 622f38fe-4cdc-405d-a46e-674df794f6e0
else
search --no-floppy --fs-uuid --set=root 622f38fe-4cdc-405d-a46e-674df794f6e0
fi
echo 'Loading Linux 3.5.0-17-generic ...'
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=622f38fe-4cdc-405d-a46e-674df794f6e0 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-17-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###
### 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='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 622f38fe-4cdc-405d-a46e-674df794f6e0
else
search --no-floppy --fs-uuid --set=root 622f38fe-4cdc-405d-a46e-674df794f6e0
fi
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 622f38fe-4cdc-405d-a46e-674df794f6e0
else
search --no-floppy --fs-uuid --set=root 622f38fe-4cdc-405d-a46e-674df794f6e0
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### 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 ###
whilst carefully browsing I came across a virtually identical case with the same sypmtoms using the same exact distro.
Booting was enabled as follows:
When you boot and the Grub menu appears, with Mint entry highlighted, press e to edit
Use down arrow to get to the "linux" line.
At the end of the line add rootdelay=120
press Ctrl+X to boot.
The boot was obviously slow but worked. It was suggested that the delay could be varied from 10 through 90 or so, to obtain the shortest boot.
Altering GRUB_TIMEOUT and removing the words quiet splash were mooted.
What was causing this did not get explained however?
current mint 14 installed on 40Gb ide drive exhibiting exactly same symptoms.
Boot repair iso downloaded and run. still the same problem except grub options appear first time now.
fdisk query gives:
susm2v@asusm2v-System-Product-Name ~ $ sudo fdisk -l
[sudo] password for asusm2v:
Disk /dev/sda: 40.1 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders, total 78242976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f0b90
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 71952383 35975168 83 Linux
/dev/sda2 71954430 78241791 3143681 5 Extended
/dev/sda5 71954432 78241791 3143680 82 Linux swap / Solaris
asusm2v@asusm2v-System-Product-Name ~ $
grub.cfg is
#
# 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="0"
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 recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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 ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 e123e9eb-c022-4b85-9ac3-c0f3c367c75a
else
search --no-floppy --fs-uuid --set=root e123e9eb-c022-4b85-9ac3-c0f3c367c75a
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 [ "${recordfail}" = 1 ]; then
set timeout=10
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_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
}
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 14 Xfce 64-bit, 3.5.0-17-generic (/dev/sda1)' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 e123e9eb-c022-4b85-9ac3-c0f3c367c75a
else
search --no-floppy --fs-uuid --set=root e123e9eb-c022-4b85-9ac3-c0f3c367c75a
fi
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=e123e9eb-c022-4b85-9ac3-c0f3c367c75a ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-17-generic
}
menuentry 'Linux Mint 14 Xfce 64-bit, 3.5.0-17-generic (/dev/sda1) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 e123e9eb-c022-4b85-9ac3-c0f3c367c75a
else
search --no-floppy --fs-uuid --set=root e123e9eb-c022-4b85-9ac3-c0f3c367c75a
fi
echo 'Loading Linux 3.5.0-17-generic ...'
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=e123e9eb-c022-4b85-9ac3-c0f3c367c75a ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.5.0-17-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###
### 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='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 e123e9eb-c022-4b85-9ac3-c0f3c367c75a
else
search --no-floppy --fs-uuid --set=root e123e9eb-c022-4b85-9ac3-c0f3c367c75a
fi
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 e123e9eb-c022-4b85-9ac3-c0f3c367c75a
else
search --no-floppy --fs-uuid --set=root e123e9eb-c022-4b85-9ac3-c0f3c367c75a
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### 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 ###
Once again disk volume does not appear on desktop. I assume this means it was not mounted. I am tempted to try again on a different hardware rig with later mobo and intel chipset.
Any point in editing this line :
linux /boot/vmlinuz-3.5.0-17-generic root=UUID=e123e9eb-c022-4b85-9ac3-c0f3c367c75a ro recovery nomodeset
replacing root value with sda1 ? or am i talking through my posterior orifice/
Last edited by filmtechie; 12-21-2012 at 02:16 PM.
Reason: Additional note at end
Hi!
Code tags: symbol '#' (last but one) in your "Reply to Thread"
Mouse click on it, afterwards copy and paste the output (e.g. of a Terminal) between the pair of '[ ]' brackets.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.