Linux Lite Forums

Full Version: linux Lite 2.0 works on CD Live but wont boot from SSD
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

johnny baby

Hi All,

Complete newbie to LINUX.  Using an old XP HP 2510p (2 GB RAM).  Linux Lite works fine off the live cd so I assume hardware OK.  Installed a new SSD (Kingspec 64 GB) and loaded Linux.

Some outputs :

Code:
linux@linux:~$ sudo fdisk -l

Disk /dev/sda: 63.6 GB, 63612911616 bytes
255 heads, 63 sectors/track, 7733 cylinders, total 124243968 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: 0x000951f6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   120098815    60048384   83  Linux
/dev/sda2       120100862   124241919     2070529    5  Extended
/dev/sda5       120100864   124241919     2070528   82  Linux swap / Solaris
linux@linux:~$

linux@linux:~$ cat /etc/fstab
overlayfs / overlayfs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda5 swap swap defaults 0 0
linux@linux:~$

linux@linux:~$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="3adbeca6-9641-4e27-8ce6-6ab4ca22d250" TYPE="ext4"
/dev/sda5: UUID="810b6368-070e-442c-a620-5b292d7314e3" TYPE="swap"
/dev/sr0: LABEL="Linux Lite 2.0 32-bit" TYPE="iso9660"
linux@linux:~$

Was really looking forward to using Linux but without Hard drive boot it is no use.  Could this be a BIOS issue ???  I have made the Hard drive 1st on bootup - get a GIMP error but cant do anything(wouldn't know what to do anyway)

All help gratefully accepted.

Rgds

John

paul59

John, did you mean a GRUB error? If so what does it say?

Don't give up just yet Smile

Paul

johnny baby

Hi Paul,

Many thanks for taking the time to reply.  Yes, you are right I should have said grub not gimp.

the message I get is:

error: attempt to read or write outside of disk 'hd0'
Entering rescue mode
grub rescue>

paul59

I've done nothing more than use Google to reply, hope this page helps:

http://askubuntu.com/questions/397485/wh...-hd0-error

Paul
It's possible that grub just didn't get installed properly during the install.  (Happens sometimes.  ???)  Try following to re-install grub:

*  Boot from live Linux Lite DVD/USB

*  Open a terminal  (Menu -> Accessories -> Terminal)

*  Mount the installed system's root partition to the live enviroment
Code:
sudo mount /dev/sda1 /mnt

*  Install grub to the MBR (master boot record) of the drive
Code:
sudo grub-install --boot-directory=/mnt/boot/ /dev/sda

*  Unmount the root partition
Code:
sudo umount /mnt

*  Close terminal, shutdown computer, remove DVD/USB

*  Boot computer again and see if everything now works.
Running on my SSD OK.

Code:
Drives:    HDD Total Size: 121.3GB (3.3% used) 1: id: /dev/sda model: APPLE_SSD_SM128 size: 121.3GB
Partition: ID: / size: 8.6G used: 3.3G (40%) fs: ext4 ID: /home size: 103G used: 513M (1%) fs: ext3

Seperate root and home on mine. No swap

Code:
Info:      Processes: 155 Uptime: 5:53 Memory: 660.4/3638.0MB Runlevel: 2 Gcc sys: 4.8.2

This is not a dual booter with Windows on it. Just a Linux laptop. So grub went onto /dev/sda mbr.
Being a ssd out of a apple computer was different also.

Code:
harry@biker1:~$ sudo fdisk -l
[sudo] password for harry:

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 121.3 GB, 121332826112 bytes
255 heads, 63 sectors/track, 14751 cylinders, total 236978176 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

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   236978175   118489087+  ee  GPT
harry@biker1:~$ sudo blkid
/dev/sda1: LABEL="/" UUID="24580b54-b3d7-418a-96f2-6bbbf1ccccff" TYPE="ext4"
/dev/sda2: LABEL="/home" UUID="65f560b2-63b4-41e0-9d4e-4597d237493b" TYPE="ext3"
harry@biker1:~$

johnny baby

SOLVED: Not an SSD problem after all - old fashioned BIOS issue - cure=do manual install with small c. 5GB root partition.

Many thanks for all the responses.  I tried boot-repair but it did nothing.  I seemed to be missing some Linux commands so thought my download of the os was corrupt.  So I opted to install Linux Mint instead.  Still didn't work.

Cue - long trawl of the interwoggie.

Found a comment that old BIOS instruction sets (2008 laptop) did not like new LINUX file setups and recommended that you do a manual install with root around 2 GB in size.  I made mine 5GB and followed the idiot (me) proof instructions here : http://forums.linuxmint.com/viewtopic.php?t=122276

Hey presto - I am running Linux -  wooo hoooo.  Once I get a bit more secure I will give Lite a go.

Smile