You are not logged in.

#1 2016-03-30 01:03:01

asoundmove
Member
Registered: 2016-03-16
Posts: 5

How to debug a boot failure on SSD - first installation to that drive?

I recently decided to repurpose an old laptop to Archlinux as it looks fantastic (full package control & lean defaults).
My first installation attempt went well on a 250GB HD - I had to use a boot partition as my old BIOS needs to find the image in the first 8GB (a single LVM partition failed to boot), but other than that all was plain sailing.
My second installation, following exactly the same procedure as for the HD but on a 32GB SSD fails to boot from the word go.
The error message on boot is:

DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER

So I believe this points to a BIOS issue, but I do not know where to look-up information that will help me resolve this problem.

Laptop: https://driverscollection.com/?H=L3C/S&By=ASUS&SS=BIOS

ASUS L3800 (L3C/S) BIOS is up to date with v0121 (2003)
cpu family    : 15
model        : 2
model name    : Intel(R) Pentium(R) 4 CPU 1.80GHz
[url]http://ark.intel.com/products/27429/Intel-Pentium-4-Processor-1_80-GHz-512K-Cache-400-MHz-FSB[/url] (32 bits)
stepping    : 4
cpu MHz        : 1799.913
cache size    : 512 KB
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 2
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 
clflush dts acpi mmx fxsr sse sse2 ss ht tm up pebs bts
bogomips    : 3599.82
clflush size    : 64

1GB RAM (Max)

My BIOS settings are as follows:

Translation Method = Match Partition Table
Multi-sector transfers = Maximum
Smart monitoring = disabled
PIO mode = 4
Ultra DMA mode = 5
fdisk -l
Disk /dev/sda: 29.3 GiB, 31488000000 bytes, 61500000 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
Disklabel type: dos
Disk identifier: <xxx>

Device     Boot  Start      End  Sectors  Size Id Type
/dev/sda1  *      2048   522239   520192  254M 83 Linux
/dev/sda2       522240 61499999 60977760 29.1G 8e Linux LVM
hdparm -I /dev/sda
/dev/sda:

ATA device, with non-removable media
    Model Number:       KingFast                                
    Serial Number:      <xxx>       
    Firmware Revision:  KFS11004
    Media Serial Num:   ü
    Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
    Supported: 9 8 7 6 5 
    Likely used: 9
Configuration:
    Logical        max    current
    cylinders    16383    16383
    heads        16    16
    sectors/track    63    63
    --
    CHS current addressable sectors:   16514064
    LBA    user addressable sectors:   61500000
    LBA48  user addressable sectors:   61500000
    Logical  Sector size:                   512 bytes
    Physical Sector size:                   512 bytes
    Logical Sector-0 offset:                  0 bytes
    device size with M = 1024*1024:       30029 MBytes
    device size with M = 1000*1000:       31488 MBytes (31 GB)
    cache/buffer size  = unknown
    Form Factor: 1.8 inch
    Nominal Media Rotation Rate: Solid State Device
Capabilities:
    LBA, IORDY(can be disabled)
    Standby timer values: spec'd by Standard, no device specific minimum
    R/W multiple sector transfer: Max = 1    Current = 1
    Advanced power management level: disabled
    DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6 
         Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4 
         Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
    Enabled    Supported:
            SMART feature set
            Security Mode feature set
       *    Power Management feature set
       *    Write cache
            Look-ahead
       *    Host Protected Area feature set
       *    WRITE_BUFFER command
       *    READ_BUFFER command
       *    NOP cmd
       *    DOWNLOAD_MICROCODE
            Advanced Power Management feature set
       *    SET_MAX security extension
       *    48-bit Address feature set
       *    Device Configuration Overlay feature set
       *    Mandatory FLUSH_CACHE
       *    FLUSH_CACHE_EXT
       *    SMART error logging
       *    SMART self-test
       *    General Purpose Logging feature set
       *    WRITE_{DMA|MULTIPLE}_FUA_EXT
       *    64-bit World wide name
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)
       *    SMART Command Transport (SCT) feature set
       *    SCT Error Recovery Control (AC3)
       *    SCT Features Control (AC4)
       *    SCT Data Tables (AC5)
       *    DOWNLOAD MICROCODE DMA command
       *    Data Set Management TRIM supported (limit 8 blocks)
Security: 
    Master password revision code = 65534
        supported
    not    enabled
    not    locked
    not    frozen
    not    expired: security count
        supported: enhanced erase
    2min for SECURITY ERASE UNIT. 2min for ENHANCED SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 0000000000000000
    NAA        : 0
    IEEE OUI    : 000000
    Unique ID    : 000000000
Integrity word not set (found 0x0000, expected 0x68a5)

Install steps:

loadkeys uk
fdisk /dev/sda # create & write partitions
pvcreate /dev/sda2
vgcreate system /dev/sda2
lvcreate -C y -L <x>G -n swap system
lvcreate -L <y>G -n root system
mkswap /dev/system/swap
swapon -d /dev/system/swap
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/system/root
mount /dev/system/root /mnt
mkdir /mnt/boot
mount /dev/sda1 /mnt/boot
pacstrap /mnt base
genfstab -p /mnt >> /mnt/etc/fstab
arch-chroot /mnt
echo asm > /etc/hostname
ln -s /usr/share/zoneinfo/GB /etc/localtime
vi /etc/locale.gen # uncomment relevant locales
locale-gen
echo LANG=en_GB.UTF-8 > /etc/locale.conf
vi /etc/vconsole.conf # define default keymap
vi /etc/mkinitcpio.conf # add lvm2 to HOOKS (before filesystem)
mkinitcpio -p linux
passwd # set password
pacman -S grub
grub-install --target=i386-pc /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
exit
umount -R /mnt
reboot # works on 250GB HD, fails on 32GB SSD

Last edited by asoundmove (2016-03-30 16:02:01)

Offline

#2 2016-03-30 01:18:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How to debug a boot failure on SSD - first installation to that drive?

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-03-30 15:44:19

asoundmove
Member
Registered: 2016-03-16
Posts: 5

Re: How to debug a boot failure on SSD - first installation to that drive?

jasonwryan wrote:

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code

Thank you for pointing this out.
Done & it does make my post clearer.

Offline

#4 2016-06-12 22:37:25

asoundmove
Member
Registered: 2016-03-16
Posts: 5

Re: How to debug a boot failure on SSD - first installation to that drive?

I meant to post an update on this just in case someone might find it interesting.

I had an email exchange with the manufacturer and SSDs are not supported by this laptop.

Offline

Board footer

Powered by FluxBB