Initramfs -system wont boot
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
Initramfs -system wont boot
Ok i have 2 partitions on my HDD both are linux Mint. The second i added as a back up or for letting the kids play games. Now my main partition is no longer booting and boots to busy box initramfs .....
Both partitions are encrypted, i have tried to force the partition to mount but getting nothing. All the solutions i have found point to an Ntfs error with windows .... i no longer have windows, could this be a kernal error.
HEEELLLLPPPP!!!
Both partitions are encrypted, i have tried to force the partition to mount but getting nothing. All the solutions i have found point to an Ntfs error with windows .... i no longer have windows, could this be a kernal error.
HEEELLLLPPPP!!!
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 18
- Location: In your eye floaters.
- Contact:
Re: Initramfs -system wont boot
try this one:
https://help.ubuntu.com/community/BootSectorFix" onclick="window.open(this.href);return false;
https://help.ubuntu.com/community/BootSectorFix" onclick="window.open(this.href);return false;
Re: Initramfs -system wont boot
You could also try rebuilding your initramfs... Boot into the second Linux partition, mount the first partition on say /mnt/part1, then chroot into /mnt/part1. I'd try running update-initramfs in this chroot shell, then try booting your first partition again. In fact, for update-initramfs to work, you may need to do the following:
Also, if you have a separate boot partition for Linux #1, make sure to mount it to /mnt/part1/boot
Code: Select all
mount -o rbind /sys /mnt/part1/sys
mount -o rbind /dev /mnt/part1/dev
mount -o rbind /proc /mnt/part1/proc
mount -o rbind /run /mnt/part1/run
¯\_(ツ)_/¯ It works on my machine...
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
Re: Initramfs -system wont boot
Cheers guys, manages to get the partition mounted, Will let you know how i get on with the rest of it when i have some free time later today.
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
Re: Initramfs -system wont boot
ok here is a list of my partitions.
now i can access the home directory but it is encrypted so next i am asked to input my password from by launching nautilus
I can then launch
Access-Your-Private-Data.desktop which initiases the Terminal to insert my password.
I have done this but nothing changes, any ideas please???
Code: Select all
*******@rustytub ~ $ sudo fdisk -l
[sudo] password for *******:
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
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x47834782
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 89595112 44796532+ 7 HPFS/NTFS/exFAT
/dev/sda2 89595902 312580095 111492097 5 Extended
/dev/sda5 156076032 300421119 72172544 83 Linux
/dev/sda6 300423168 312580095 6078464 82 Linux swap / Solaris
/dev/sda7 89595904 156076031 33240064 83 Linux
Code: Select all
sudo nautilus
Access-Your-Private-Data.desktop which initiases the Terminal to insert my password.
I have done this but nothing changes, any ideas please???
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
Re: Initramfs -system wont boot
Obviously the partitions are messed up so once i can access the other partition and save what i need i can start to clean it all up .......
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 18
- Location: In your eye floaters.
- Contact:
Re: Initramfs -system wont boot
have you run fsck, just to make sure it's no disk problem that may be possible to fix?
Re: Initramfs -system wont boot
Instead of having nautilus try to mount your encrypted partition, try mounting it manually. I'm guessing that you're using LUKS encryption. Since your /dev/sda2 partition is the largest, I'm guessing that's your home partition, so try the following:
Code: Select all
cryptsetup luksOpen /dev/sda2 sda2_crypt
[enter password when prompted]
mount /dev/mapper/sda2_crypt /path/to/mount/to
¯\_(ツ)_/¯ It works on my machine...
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
Re: Initramfs -system wont boot
bad_brain wrote:have you run fsck, just to make sure it's no disk problem that may be possible to fix?
Code: Select all
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
/dev/sda7 is mounted.
e2fsck: Cannot continue, aborting.
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
Re: Initramfs -system wont boot
Cheers guys, can't say what it was specifically that fixed it as i was busy doing in between other things but all booting up again and yes....everything backed up
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com