MINT14 64-bit on SD Card - boot problem

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help

MINT14 64-bit on SD Card - boot problem

Postby Isolde on Wed Jan 30, 2013 10:39 am

hi,

I am having i5 HP laptop with a W7 on it. What I am trying to do is do install LM14 64-bit on to an SD Card and run the whole machine from there (without touching the 'native' W7. Which I still need to be there for the time being.

installation is done and now I am running into a boot problem. Which probably is caused by the MBR not being found or GRUB 2 not finding the right path to get started.

I ran a bootsript and got the following RESULT:

Code: Select all
                  Boot Info Script 0.61      [1 April 2012]


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

 => Windows is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts
                       at sector 63.
    Operating System: 
    Boot files:       

sda6: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  According to the info in the boot sector, sda6 starts
                       at sector 63.
    Operating System: 
    Boot files:       

sda7: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  According to the info in the boot sector, sda7 starts
                       at sector 63.
    Operating System: 
    Boot files:       

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63   125,837,144   125,837,082   7 NTFS / exFAT / HPFS
/dev/sda2         125,837,145 1,465,144,064 1,339,306,920   f W95 Extended (LBA)
/dev/sda5         125,837,208   572,556,599   446,719,392   7 NTFS / exFAT / HPFS
/dev/sda6         572,556,663 1,019,276,054   446,719,392   7 NTFS / exFAT / HPFS
/dev/sda7       1,019,276,118 1,465,144,064   445,867,947   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/mmcblk0p1   765fcb5f-1e8e-4414-8647-fa9e4762286c   swap       
/dev/mmcblk0p2   6efdbccc-bc8e-4f74-9a43-4dc4d66d734d   ext4       
/dev/mmcblk0p5   562a63c3-95b4-4acd-9f47-204748b7097e   ext4       
/dev/sda1        AE043000042FCA63                       ntfs       
/dev/sda5        0000322B0001D4EE                       ntfs       PROGRAMS
/dev/sda6        0005F388000D0064                       ntfs       DATA
/dev/sda7        000D261B000F4F41                       ntfs       VIRTUAL
/dev/sr0                                                iso9660    Linux Mint 14 Cinnamon 64-bit

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/mmcblk0p2   /media/mint/6efdbccc-bc8e-4f74-9a43-4dc4d66d734d ext4       (rw,nosuid,nodev,uhelper=udisks2)
/dev/mmcblk0p5   /media/mint/562a63c3-95b4-4acd-9f47-204748b7097e ext4       (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda6        /media/mint/文档           fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


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

Unknown BootLoader on sda2

00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
000001b0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff 00 01  |................|
000001c0  c1 ff 07 fe ff ff 3f 00  00 00 a0 65 a0 1a 00 00  |......?....e....|
000001d0  c1 ff 05 fe ff ff df 65  a0 1a df 65 a0 1a 00 00  |.......e...e....|
000001e0  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


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

  No volume groups found



How can I teach GRUB2 to find what she needs to get going? I would prefer to leave the original W7 (including MBR) as untouched as possible.

thanks for your tips
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Linux Mint is funded by ads and donations.
 

Re: MINT14 64-bit on SD Card - boot problem

Postby Minterator on Wed Jan 30, 2013 3:49 pm

Better to do a manual install ("Something Else") where you specify to install the OS and grub to the flash drive (/dev/sd___). Otherwise the installer may put grub on the Windows disk, leaving the flash card unbootable. Then use the BIOS boot menu (F8/F12) to boot your flash drive.
Linux Mint 13 MATE 64-bit
User avatar
Minterator
Level 3
Level 3
 
Posts: 186
Joined: Thu Jan 10, 2013 8:29 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Isolde on Thu Jan 31, 2013 7:15 am

sorry, I wasn;t too precise enough maybe

Minterator wrote:Better to do a manual install ("Something Else") where you specify to install the OS and grub to the flash drive (/dev/sd___). Otherwise the installer may put grub on the Windows disk, leaving the flash card unbootable. Then use the BIOS boot menu (F8/F12) to boot your flash drive.


I did a custom install. 3 partitions on a 32GB SD card

1 /swap ...1GB
2 / ....29 GB
3 /home ..512 MB

the BIOS leads to boot from the SD Card but what I get is:
Code: Select all
GNU GRUB version 2.00-7ubuntu11
Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions.
Anywhere else TAB lists possible device or file completions.
grub> _


my research so far led me to thinking that this has to do with GRUB2 looking for a kernel to boot somewhere but can't maybe find it. So I thought I need to figure out how to connect this successfully. I think it might be related to the MBR being on the /sda (where the 'native W7 has it's boot partition).

actually I wonder whether there can be two different MBR's on one machine? One on the /sda (W7) another one on the SD card for my Mint??? or is there only one for everybody?
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Minterator on Thu Jan 31, 2013 2:10 pm

Is your Windows still booting properly?

This shouldn't be so much work, I've done it many times. Lets assume your flash drive is /dev/sdd. Do a custom install to /dev/sdd1 and just below also select to put grub in /dev/sdd. If done this way, you Windows disk is left unchanged and boots using it's own MS boot loader. Personally I install everything to a single primary partition, no swap is needed if you have enough memory.
Linux Mint 13 MATE 64-bit
User avatar
Minterator
Level 3
Level 3
 
Posts: 186
Joined: Thu Jan 10, 2013 8:29 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Isolde on Thu Jan 31, 2013 7:59 pm

Minterator wrote:Is your Windows still booting properly?
yes

Minterator wrote: ... Lets assume your flash drive is /dev/sdd. Do a custom install to /dev/sdd1 and just below also select to put grub in /dev/sdd. If done this way, you Windows disk is left unchanged and boots using it's own MS boot loader.
apparently I had missed the option to put the bootloader on any specific location while the installation. Sounds promising easy will check that out.

The partition actually is called /dev/mmcblk0p2 which I find very troubling as you never know it by heart

My RAM is 4GB, will put it to 8GB later maybe as I am planning to run some virtual machines on it. So you say: no SWAP necessary? I did it cause I was used to. Actually in earlier times I had much less RAM then on this new Laptop.

many thanks ... I
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Isolde on Fri Feb 01, 2013 11:55 am

Minterator wrote: ... Lets assume your flash drive is /dev/sdd. Do a custom install to /dev/sdd1 and just below also select to put grub in /dev/sdd. If done this way, you Windows disk is left unchanged and boots using it's own MS boot loader.


a new installation didn't go too sucessfull yet. Wouldn;t be a big thing just the "downloading of language packs" is really a pain in the ass, because it let's you sit an watch for hours ... anyway, back to the main issue. Still can not boot. The error I got is a different one though
Code: Select all
error: attempt to read or write outside of disk 'hd0'
grub rescue >

an 'ls' gives me this feedback
Code: Select all
(hd0) (hd0,msdos5) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos7) (hd1,msdos6) (hd1,msdos5) (hd1,msdos1)

I have one harddrive in this machine which contains 4 partitions (not really sure whether they are logical, or primary or whatever). This HD is actually not involved in this installation. Then there is my SD card which holds a swap area and 2 partitions (one for /, one for /home). And where my Mint is installed on.

First time I deal with GRUB2, so I am clueless. digged out a 'grub.cfg' in /boot/grub (which is there on the SD card and which I am quoting from the Live CD now). Maybe that tells anyone, out there what to do.

Code: Select all
#
# 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
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb
else
  search --no-floppy --fs-uuid --set=root 96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb
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
  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 Cinnamon 64-bit, 3.5.0-17-generic (/dev/mmcblk0p5)' --class linuxmint --class gnu-linux --class gnu --class os {
   recordfail
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_msdos
   insmod ext2
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root  96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb
   else
     search --no-floppy --fs-uuid --set=root 96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb
   fi
   linux   /boot/vmlinuz-3.5.0-17-generic root=UUID=96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb ro   quiet splash $vt_handoff
   initrd   /boot/initrd.img-3.5.0-17-generic
}
menuentry 'Linux Mint 14 Cinnamon 64-bit, 3.5.0-17-generic (/dev/mmcblk0p5) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
   recordfail
   insmod gzio
   insmod part_msdos
   insmod ext2
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root  96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb
   else
     search --no-floppy --fs-uuid --set=root 96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb
   fi
   echo   'Loading Linux 3.5.0-17-generic ...'
   linux   /boot/vmlinuz-3.5.0-17-generic root=UUID=96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb 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
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root  96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb
   else
     search --no-floppy --fs-uuid --set=root 96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb
   fi
   linux16   /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
   insmod part_msdos
   insmod ext2
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root  96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb
   else
     search --no-floppy --fs-uuid --set=root 96c5cda1-b7e6-49a7-bec9-7c8dd9920fdb
   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 ###


this is /etc/default/grub

Code: Select all
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"


anyone? any hint? somebody here http://askubuntu.com/questions/229715/booting-ubuntu-failure-error-attempt-to-read-or-write-outside-of-disk-hd0?rq=1 has spotted 64-bit to be responsible. But I am running on a brand new HP ProBook with an intel i5. I guess that should be capable for that?
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Minterator on Fri Feb 01, 2013 12:57 pm

The installer let's you sit and watch for hours?! This is normally a 5 min job. Ideally you should let the installer format the flash drive, which will also get rid of the existing volume label that bothers you. Use gparted to see where your flash drive is, i.e. sdb, sdc, sdd, etc. and use that to guide the installer. I'd use "Grub Customizer" to fix any problems later if necessary, there's no sense in tinkering with system files.

The only reason you should do "custom" is because the installer defaults to "along side" type of installation, meaning it boots everything from the 1st disk. Unless your flash drive is defective, this shouldn't take more than 5 minutes. Have you tried a different flash drive?
Linux Mint 13 MATE 64-bit
User avatar
Minterator
Level 3
Level 3
 
Posts: 186
Joined: Thu Jan 10, 2013 8:29 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Isolde on Fri Feb 01, 2013 8:56 pm

Minterator wrote:The installer let's you sit and watch for hours?! This is normally a 5 min job. Ideally you should let the installer format the flash drive, which will also get rid of the existing volume label that bothers you.
I overdid that a litle, let's say 60-90 mins. Still much more then your 5 minutes. The time is spend downloading so called "langauage packs". A web search shows that I am not the only only that has seen this trouble (language packs download taking up very long time) with Mint installation
There are many different opinions whether you should or could 'skip' this download. As it was unclear I left it be ...
Minterator wrote: Use gparted to see where your flash drive is, i.e. sdb, sdc, sdd

/dev/mmcblk0p1

I have used that to guide the installer and the MBR. And I think the installation went ok... at least the content of the SD Card looks like a regular Linux / partition to me.
I still think it might be a GRUB or MBR related issue.

Minterator wrote:Have you tried a different flash drive?
no, maybe will do that if I can find one shortly.
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Minterator on Sat Feb 02, 2013 11:15 am

Is that an internal SD card reader? HP have some proprietary stuff. Try using external USB card reader and/or a different flash drive. Does it install then?
Linux Mint 13 MATE 64-bit
User avatar
Minterator
Level 3
Level 3
 
Posts: 186
Joined: Thu Jan 10, 2013 8:29 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Isolde on Sun Feb 03, 2013 9:24 pm

Minterator wrote:Is that an internal SD card reader? HP have some proprietary stuff. Try using external USB card reader and/or a different flash drive. Does it install then?

Yes internal Card Reader (that's actually the whole idea about this). The only external Card reader lying around is a LUMIX digital Camera. Using that and boot order setting put to:
    1. USB drive
    2. SC Card
    3. internal HD

The Card just get's ignored (on two different USB inputs) and the machine directly jumps to boot from the internal Hard Drive.
As soon I can find my USB stick that is big enough for an installation I will try that.
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Minterator on Mon Feb 04, 2013 10:22 am

Isolde wrote:
Minterator wrote:Is that an internal SD card reader? HP have some proprietary stuff. Try using external USB card reader and/or a different flash drive. Does it install then?

Yes internal Card Reader (that's actually the whole idea about this). The only external Card reader lying around is a LUMIX digital Camera. Using that and boot order setting put to:
    1. USB drive
    2. SC Card
    3. internal HD

The Card just get's ignored (on two different USB inputs) and the machine directly jumps to boot from the internal Hard Drive.
As soon I can find my USB stick that is big enough for an installation I will try that.


How old is the laptop? Some will not boot from USB. Try creating a desktop USB with "Imagewriter" or "Startup Disk Creator" and see if it will boot from that.
Linux Mint 13 MATE 64-bit
User avatar
Minterator
Level 3
Level 3
 
Posts: 186
Joined: Thu Jan 10, 2013 8:29 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Isolde on Wed Feb 06, 2013 6:31 am

ok, this is typed from the SD Card I had installed MINT 14. It is running finally from a Card Reader in USB Stick (or let's beeter call it brick) format. It looks beautiful. Something like a 5x4 cm ugly brick, hanging pretty loose from one of the USB ports. If you look at it too harsh it potentially falls off. Perfect for running your OS from. The neighbor USB input is blocked due to this reader being so thick and bullky by the way. Another plus.

Thank you Hewlet Packard for building this ProBook 4431s !!!

'Pro' stands for professional I suppose which (as far as I understand it) is the oposite of 'just playing around a little bit for fun'. So you should actually be able to do stuff with this machine (like using the damn SD card slot for something else then transferring some bloddy pictures from your last holiday). seriousely, ... they must be kidding!

Well .. you can smell it guys. I am pretty happy right now with the choice of my new bought Laptop ... thanks for the help anyway of course.

Well, if somebody has a clue how to cheat the bastard ... let me hear it
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Minterator on Wed Feb 06, 2013 9:48 am

Isolde wrote:ok, this is typed from the SD Card I had installed MINT 14. It is running finally from a Card Reader in USB Stick (or let's beeter call it brick) format. It looks beautiful. Something like a 5x4 cm ugly brick, hanging pretty loose from one of the USB ports. If you look at it too harsh it potentially falls off. Perfect for running your OS from. The neighbor USB input is blocked due to this reader being so thick and bullky by the way. Another plus.

Thank you Hewlet Packard for building this ProBook 4431s !!!

'Pro' stands for professional I suppose which (as far as I understand it) is the oposite of 'just playing around a little bit for fun'. So you should actually be able to do stuff with this machine (like using the damn SD card slot for something else then transferring some bloddy pictures from your last holiday). seriousely, ... they must be kidding!

Well .. you can smell it guys. I am pretty happy right now with the choice of my new bought Laptop ... thanks for the help anyway of course.

Well, if somebody has a clue how to cheat the bastard ... let me hear it


So finally it works.

When you press F9 on startup, is the internal USB device listed in the boot menu? If not, go into BIOS boot options and increase the startup menu delay to 5 or 10 seconds.
Linux Mint 13 MATE 64-bit
User avatar
Minterator
Level 3
Level 3
 
Posts: 186
Joined: Thu Jan 10, 2013 8:29 am

Re: MINT14 64-bit on SD Card - boot problem

Postby AlbertP on Wed Feb 06, 2013 9:55 am

The internal device of your laptop is probably the so-called HP-COMBO reader, actually an SMSC chip. This cardreader is not recognized by the operating system if there is no card in it. So maybe looking in the BIOS only makes sense, if there is actually a card in it.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6522
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: MINT14 64-bit on SD Card - boot problem

Postby Isolde on Thu Feb 07, 2013 10:19 am

AlbertP wrote:The internal device of your laptop is probably the so-called HP-COMBO reader, actually an SMSC chip. This cardreader is not recognized by the operating system if there is no card in it. So maybe looking in the BIOS only makes sense, if there is actually a card in it.


SD Card is in the slot. Boot option in the bios are set to start from SD card as #1. Additionally I do esc + F9 when starting up and choose to start from SD Card.

what I get is:
Code: Select all
error: attempt to read or write outside of disk 'hd0'
grub rescue _


so it does not skip the card .... The fact it says 'grub rescue' also tells me that I am on the card then (apart from this Card install there shouldn't any grub around on this machine, so ...

AlbertP wrote:... this cardreader is not recognized by the operating system if there is no card in it. So maybe looking in the BIOS only makes sense, if there is actually a card in it.
wait a minute. There is no operating system running yet, when I run into this issue... hm.
when I run the machine from the MINT Live DVD, the same SD Card gets recognized exactly as I would imagine. All partitions as expected, all files look like a linux / looks like.
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Re: MINT14 64-bit on SD Card - boot problem

Postby Isolde on Thu Feb 07, 2013 10:23 am

Another thought. I am using one swap partition and two ext4 here. (which works just fine from the USB SD Card reader). Could that be an issue when using the internal SD slot? what could I use instead? FAT32? I guess nobody would recommend to install your / and /home on a FAT32 partition though, right?
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Re: MINT14 64-bit on SD Card - boot problem

Postby AlbertP on Thu Feb 07, 2013 11:22 am

Could you run lsusb and lspci with an SD card in the internal reader and post the output?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6522
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: MINT14 64-bit on SD Card - boot problem

Postby Isolde on Thu Feb 07, 2013 10:17 pm

here you go:
Code: Select all
mint@mint ~ $ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 05ac:1006 Apple, Inc. Hub in Aluminum Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 04f2:b230 Chicony Electronics Co., Ltd Integrated HP HD Webcam
Bus 002 Device 004: ID 03f0:311d Hewlett-Packard Atheros AR9285 Malbec Bluetooth Adapter
Bus 003 Device 003: ID 05ac:0221 Apple, Inc. Aluminum Keyboard (ISO)
Bus 003 Device 004: ID 05ac:0304 Apple, Inc. Optical USB Mouse [Mitsumi]

Code: Select all
mint@mint ~ $ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b4)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series]
24:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
24:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
24:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 30)
25:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
26:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
27:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)

fdisk -l gives me that
Code: Select all
mint@mint ~ $ sudo fdisk -l

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xa40d7c3e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   125837144    62918541    7  HPFS/NTFS/exFAT
Partition 1 does not start on physical sector boundary.
/dev/sda2       125837145  1465144064   669653460    f  W95 Ext'd (LBA)
Partition 2 does not start on physical sector boundary.
/dev/sda5       125837208   572556599   223359696    7  HPFS/NTFS/exFAT
/dev/sda6       572556663  1019276054   223359696    7  HPFS/NTFS/exFAT
Partition 6 does not start on physical sector boundary.
/dev/sda7      1019276118  1465144064   222933973+   7  HPFS/NTFS/exFAT
Partition 7 does not start on physical sector boundary.

Disk /dev/mmcblk0: 32.1 GB, 32082231296 bytes
4 heads, 16 sectors/track, 979072 cylinders, total 62660608 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: 0x000b9e0d

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1            2048     2000895      999424   82  Linux swap / Solaris
/dev/mmcblk0p2        60659712    62658559      999424   83  Linux
/dev/mmcblk0p3   *     2000896    60659711    29329408   83  Linux


any hints from that?

by the way ...thanks again for staying with me in this. great !!!
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Re: MINT14 64-bit on SD Card - boot problem

Postby AlbertP on Fri Feb 08, 2013 5:41 am

Code: Select all
24:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
24:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
24:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 30)

That's your built-in cardreader. It is not a USB device, and also not the HP-COMBO reader which I had seen in older HP business notebooks.

Grub seems unable to boot from this cardreader. I think it would be a bug in Grub and don't just know a workaround for that.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6522
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: MINT14 64-bit on SD Card - boot problem

Postby Isolde on Fri Feb 08, 2013 10:26 am

Grub seems unable to boot from this cardreader. I think it would be a bug in Grub and don't just know a workaround for that.

so that means I would sumbit a bugreport if I think this should get fixed here? http://savannah.gnu.org/bugs/?group=grub
Isolde
Level 1
Level 1
 
Posts: 11
Joined: Wed Jan 30, 2013 10:06 am

Linux Mint is funded by ads and donations.
 
Next

Return to Installation & Boot

Who is online

Users browsing this forum: Dusenberg and 16 guests