I am not sure why the booting issues started. It seems that it started shortly after (a few days) I removed a line I had created in the mounting script (at fstab) to mount a usb drive on startup. I'm not sure if it's connected to that.
I am running Linux Mint 17 (only).
Originally I was having trouble with booting and it would leave me in the initramfs prompt and the file systems weren't mounted at this point.
This is when I first used the boot repair CD. The message I received at the end was that the booting had been repaired, but that the boot files where far from the start of the disk and that the BIOS may not detect them, and that I should create a /boot partition at the start of the disk.
After this first use of the boot repair CD, I was getting messages of kernel panic and was still unable to boot.
The below contains the output of the use of the boot repair CD.
URL: http://paste.ubuntu.com/p/R5q97Gd736/
I followed the advice and created a 1GB partition at the start of the disk via gParted, and then ran the boot repair tool again with separate /boot partition option.
URL: http://paste.ubuntu.com/p/WFjyQQbtTT/
Now I land in the grub prompt. My new partition (sda3) has the /grub directory, while the old partition has all the remaining files (sda1).
So I try
Code: Select all
grub> set root=(hd0,1)
grub> linux /boot/vmlinuz-3.16.0-28-generic root=/dev/sda1
grub> initrd /boot/initrd.img-3.16.0-28-generic
grub> boot
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Target filesystem doesn't have requested /sbin/init.
bin/sh: 0: can't access tty; job control turned off
At this point I'm feeling a bit helpless. Do you think you could give me some ideas?
I tried updating grub, but during the process lconfig couldn't be found.
I'm quite newbie, so any help would be appreciated. I am thinking of creating yet another partition and re-installing linux and then try to recover the data in the original partition.
Thanks,
Ignacio