LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install problems Ubuntu 14.04lts dual disc SATA & PATA (https://www.linuxquestions.org/questions/linux-newbie-8/install-problems-ubuntu-14-04lts-dual-disc-sata-and-pata-4175502302/)

professionalnoob 04-19-2014 02:07 PM

Install problems Ubuntu 14.04lts dual disc SATA & PATA
 
System is an HP Compaq SR2180NX with SATA-300 drive in IDE mode, and one PATA-100 drive in PATA port 0. The SATA is allocated in hardware detect as IDE:0:0 and the PATA is IDE:1:1.
O.K., that's the bare facts. Was an XP box (not going to spend $300 USD on a new box just so I can give Micro$ another $199 USD) that once had dual boot with Ubuntu 10.04 lts.
So, install went well, all good, restart at the end...nada. Black screen and nothing else. Press hardware restart and NO DELAY restarted computer.
Strong indicator of no operating system at all.
Tried swapping installs, manually partitioning HD's, everything I could think of.
Rebooting from SystemRescueCD "boot Linux already on target" worked GREAT (except for another problem not meaningful here)
Found a workaround, disconnect the PATA hard drive and install to SATA, then reconnect PATA and partition from terminal with sudo gparted to access the drive space.
My serious question to all you noobs out there.
What on EARTH could have caused that?

syg00 04-19-2014 06:52 PM

Quote:

Originally Posted by professionalnoob (Post 5155650)
My serious question to all you noobs out there.
What on EARTH could have caused that?

Maybe not a noob any more, but I'll give it a shot.
This is (probably) caused by the SATA/PATA mix - several distros have issues with this. The BIOS presents the devices in one boot order (probably PATA first), and the Linux init scripts assign /dev/sda to something different (the SATA).

Go here, and do as it says - post the RESULTS.txt so we can see what evidence is left. Be aware that if you decide to add another system (dual boot), this issue may arise again.

professionalnoob 04-25-2014 04:34 PM

Results.txt
 
1 Attachment(s)
Sorry I took so long.
Contents of Results.txt

Boot Info Script 0.61 [1 April 2012]


============================= Boot Info Summary: ===============================

=> No boot loader is installed in the MBR of /dev/sda.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 112 for .

sda1: __________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sda6: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sdb1: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab

sdb2: __________________________________________________________________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sdb5: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 2,048 312,580,095 312,578,048 5 Extended
/dev/sda5 4,096 204,804,095 204,800,000 83 Linux
/dev/sda6 204,806,144 312,580,095 107,773,952 82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 * 2,048 969,451,519 969,449,472 83 Linux
/dev/sdb2 969,453,566 976,771,071 7,317,506 5 Extended
/dev/sdb5 969,453,568 976,771,071 7,317,504 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda5 1ee9d798-4018-4ca3-be9e-dd99abe6260f ext4 workspace
/dev/sda6 d36f8f2e-9bd6-4275-9b76-f41f9c88a63d swap
/dev/sdb1 d818586e-1ae7-4dc6-8cfa-407293c0d3f2 ext4
/dev/sdb5 c58dbe91-e7c0-4e5e-810c-8f32d3b2c827 swap
/dev/sr0 iso9660 Linuxtools

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sda5 /media/myxdesktop/workspace ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sdb1 / ext4 (rw,errors=remount-ro)
/dev/sr0 /media/myxdesktop/Linuxtools iso9660 (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)


=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# 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
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 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 d818586e-1ae7-4dc6-8cfa-407293c0d3f2
else
search --no-floppy --fs-uuid --set=root d818586e-1ae7-4dc6-8cfa-407293c0d3f2
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=-1
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=0
fi
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
if background_color 44,0,30; then
clear
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
}
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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d818586e-1ae7-4dc6-8cfa-407293c0d3f2' {
recordfail
load_video
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 d818586e-1ae7-4dc6-8cfa-407293c0d3f2
else
search --no-floppy --fs-uuid --set=root d818586e-1ae7-4dc6-8cfa-407293c0d3f2
fi
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=d818586e-1ae7-4dc6-8cfa-407293c0d3f2 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-24-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-d818586e-1ae7-4dc6-8cfa-407293c0d3f2' {
menuentry 'Ubuntu, with Linux 3.13.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-advanced-d818586e-1ae7-4dc6-8cfa-407293c0d3f2' {
recordfail
load_video
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 d818586e-1ae7-4dc6-8cfa-407293c0d3f2
else
search --no-floppy --fs-uuid --set=root d818586e-1ae7-4dc6-8cfa-407293c0d3f2
fi
echo 'Loading Linux 3.13.0-24-generic ...'
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=d818586e-1ae7-4dc6-8cfa-407293c0d3f2 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-24-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-recovery-d818586e-1ae7-4dc6-8cfa-407293c0d3f2' {
recordfail
load_video
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 d818586e-1ae7-4dc6-8cfa-407293c0d3f2
else
search --no-floppy --fs-uuid --set=root d818586e-1ae7-4dc6-8cfa-407293c0d3f2
fi
echo 'Loading Linux 3.13.0-24-generic ...'
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=d818586e-1ae7-4dc6-8cfa-407293c0d3f2 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.13.0-24-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='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 d818586e-1ae7-4dc6-8cfa-407293c0d3f2
else
search --no-floppy --fs-uuid --set=root d818586e-1ae7-4dc6-8cfa-407293c0d3f2
fi
knetbsd /boot/memtest86+.elf
}
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 d818586e-1ae7-4dc6-8cfa-407293c0d3f2
else
search --no-floppy --fs-uuid --set=root d818586e-1ae7-4dc6-8cfa-407293c0d3f2
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 ###
--------------------------------------------------------------------------------

=============================== sdb1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=d818586e-1ae7-4dc6-8cfa-407293c0d3f2 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=c58dbe91-e7c0-4e5e-810c-8f32d3b2c827 none swap sw 0 0
--------------------------------------------------------------------------------

=================== sdb1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sdb2

00000000 d6 77 ec c3 0d 61 dc cd 3c 90 ef f8 34 ce 80 7d |.w...a..<...4..}|
00000010 0a ed 4c 65 98 46 5b 8d 32 f7 be cb 9a f4 00 42 |..Le.F[.2......B|
00000020 b1 7d 9c 2e e8 67 10 f8 0d e2 aa 70 e1 8d 1a ce |.}...g.....p....|
00000030 31 fc 4b 28 98 e8 3e 55 73 06 2b bf 61 b8 59 d4 |1.K(..>Us.+.a.Y.|
00000040 9d 5f c0 45 ac 1d ae c6 ef 5a be fd 97 c2 aa 15 |._.E.....Z......|
00000050 51 8d 9c f9 9f b5 43 db ae 9b d1 12 0f ca b1 35 |Q.....C........5|
00000060 5b a4 2e fd 5b d0 5d 5a e9 c4 ac a3 18 3b 3c 74 |[...[.]Z.....;<t|
00000070 59 53 10 62 72 4b 09 d1 a1 5a 8a 41 0d 32 df 4f |YS.brK...Z.A.2.O|
00000080 e9 cc 6a 3f 4d 9f e7 7b 47 30 c2 38 47 20 84 15 |..j?M..{G0.8G ..|
00000090 43 35 e1 cc 3f 61 aa ab d8 de c6 28 c3 01 f0 21 |C5..?a.....(...!|
000000a0 77 0e 93 25 85 14 0d 7f ba 3c 8b 0e bf 03 07 82 |w..%.....<......|
000000b0 90 4a 70 b8 59 c6 2e 29 ed c4 ed 4f a9 e3 72 c4 |.Jp.Y..)...O..r.|
000000c0 b7 fb 1b f6 20 2b 5a 2e 38 36 f3 69 7a 9a 01 d6 |.... +Z.86.iz...|
000000d0 d4 b5 60 00 e8 d6 94 08 d1 31 12 f6 3d bf 9f 0f |..`......1..=...|
000000e0 ea 34 20 96 7c 09 f9 10 72 47 62 0e fd de 8e e6 |.4 .|...rGb.....|
000000f0 84 b9 ae 7c c4 23 df c8 8e 3b d6 33 7f b5 f5 15 |...|.#...;.3....|
00000100 0c b1 eb c6 b4 b0 44 c2 ef cf 9b 87 b2 c3 cd 96 |......D.........|
00000110 a8 ac a1 2e c4 c7 0b a4 11 ac 8f 2e 53 b1 27 65 |............S.'e|
00000120 af 68 ef 66 ee 43 e5 92 f2 31 34 fc 23 c2 14 7a |.h.f.C...14.#..z|
00000130 4d 96 97 c3 bd 86 33 39 64 69 6b c8 af e6 42 93 |M.....39dik...B.|
00000140 99 d6 f7 ca 4e b1 6a 69 c2 6d 04 73 20 96 28 78 |....N.ji.m.s .(x|
00000150 03 f9 a3 bc fe 85 5d 81 32 1a a1 c3 73 51 c7 50 |......].2...sQ.P|
00000160 69 eb 35 9d 26 e5 34 5f 1d 65 3f 5f 68 9a 96 7c |i.5.&.4_.e?_h..||
00000170 2b 36 5f 31 5d 5c 64 7f 25 8b af 12 48 92 37 6b |+6_1]\d.%...H.7k|
00000180 ce 41 a7 f4 3a 3e 91 41 1e b2 64 e5 c1 10 bf 2b |.A..:>.A..d....+|
00000190 e9 59 2a 48 d1 4f 52 17 5c ba 7c f5 7d a4 2d a8 |.Y*H.OR.\.|.}.-.|
000001a0 dd 0a 88 59 67 86 17 c9 42 58 ea f8 6e 19 cd 1b |...Yg...BX..n...|
000001b0 2d fe 88 f0 8e be 92 53 9f 65 0f d5 af 9d 00 fe |-......S.e......|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 a8 6f 00 00 00 |............o...|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200


========= Devices which don't seem to have a corresponding hard drive: =========

sdc sdd sde sdf

=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-3tql27SZ/Tmp_Log: No such file or directory


All times are GMT -5. The time now is 07:36 PM.