initramfs errors stopping me from booting

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Husse

Re: initramfs errors stopping me from booting

Post by Husse »

/dev/sda5 doesnt exist drop to shell
This is it - for some reason you are trying to boot from a non existent partition
I hope the solution is in either or both of these two wikis
http://www.linuxmint.com/wiki/index.php ... annot_boot
http://www.linuxmint.com/wiki/index.php ... _a_problem
Perhaps as simple as to boot the live CD and use Gparted to inspect your partitions and correct menu.lst
Open as root the Mint partition and edit /boot/grub/menu.lst so the lines in grub point to the right partition
It looks something like this
title Linux Mint 6, kernel 2.6.27-7-generic
root (hd0,8)
kernel /boot/vmlinuz-2.6.27-7-generic root=/dev/sda9 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
Note that grub starts counting from zero so (hd0,8) is the ninth partition of hard disk one
Have to leave for work now
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Re: initramfs errors stopping me from booting

Post by Husse »

in nano I opened up menu.lst
This is a bit tricky (but just a bit) if you are on the live CD - you have to make sure it is the file on the hard drive you are editing, not the RAM disk file the live CD uses
So I'd suggest that you go to Places in the menu and open "Computer"
"Filesystem" on the live CD is the live CD :) so open the other disks (You may have to authenticate - no (blank) password used on the live CD) until you find the Mint partition. Sadly you don't see which "/dev" they are...
Then edit that menu.lst - I'm pretty sure you edited the live cd one
Remember you have to change twice
I have
title Linux Mint 6, kernel 2.6.27-7-generic
root (hd0,8)
kernel /boot/vmlinuz-2.6.27-7-generic root=/dev/sda9 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
You havee to edit both
When things work OK you can use startupmanager (or is it called botupmanager) to do this
confused.brit

Re: initramfs errors stopping me from booting

Post by confused.brit »

you want (hd0,4) not (hd0,5) for sda5

Grub starts counting from 0 so sda1 would be (hd0,0) sda2 (hd0,1) etc etc.
Locked

Return to “Installation & Boot”