Trying that now.
Trying that now.
-Jonathan
Status: CELEBRATING 2016!!! (Offline )
eehh... don't know how to boot boot-repair in bios mode. Is it something in advanced options?
(It seems that boot-repair does not have any command line options)
Tried to google for it -- no luck. So I reinstalled grub2 following the instruction. And it boots grub now, so everything's fine .
Just for reference, systems with UEFI & BIOS have two ways to boot Boot-Repair or Ubuntu install DVDs or flash drives. You have to choose from UEFI/BIOS menu and some are not totally clear which mode you have as choices.
This shows both UEFI (grub2 menu) and BIOS (accessibility screen) for Ubuntu installer.
https://help.ubuntu.com/community/UEFI
UEFI boot install & repair info - Regularly Updated :
https://ubuntuforums.org/showthread.php?t=2147295
Please use Thread Tools above first post to change to [Solved] when/if answered completely.
I am having trouble booting a 12.04.3 LTS server, which was running correctly until a recent power outage caused the box to fallover. Now when I try to boot it up, I get the following error message and the system drops to busybox and the initramfs prompt:
[38.045827] EXT3-fs (dm-1): error: unable to read superblock
[38.048857] EXT4-fs (dm-1): unable to read superblock
[38.052813] FAT-fs (dm-1): unable to read boot sector
mount: mounting /dev/mapper/slartibartfast-root on /root failed: Invalid argument
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
udevd[283]notify_add_watch(6, /dev/dm-3, 10) failed: Invalid argument
udevd[284]: inotify_add_watch(6, /dev/dm-1, 10) failed: Invalid argument
udevd[294]: inotify_add_watch(6, /dev/dm-4, 10) failed: Invalid argument
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
Busybox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4.1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) _
Following a trawl through similar threads here, I have tried a combination of things - firstly running e2fsck against the filesystem and secondly, altering fstab to use the UUID of the device(s), rather than their mappings. Having tried both of these, I still get the same result.
I thought I would try boot-repair after hearing good things about it. The initial run, with no fixes, gave the following information:
http://paste.ubuntu.com/6149457/
I then attempted to run it and apply fixes, but now the system appears to hang on a blank screen after selecting the kernel to boot into after the grub menu. The output from the fix session is as follows:
http://paste.ubuntu.com/6149605/
Is anybody able to assist please?
NB I posted this as a similar new thread yesterday, before running boot-repair. After running boot-repair, I thought it probably best to post in this thread, so have commented as such in the original post. Apologies if this was incorrect etiquette.
Last edited by Jonathan Precise; September 24th, 2013 at 04:01 PM.
-Jonathan
Status: CELEBRATING 2016!!! (Offline )
Boot into an ubuntu live CD (ubuntu 12.04.3 LTS Desktop), and try to fsck the partitions.
If it boots to graphical install (doubt it), then select "Try ubuntu", then wait for the desktop to load. Press Ctrl. + Alt. + T. In the terminal, run the fsck. View the manual pages on how to do that (man fsck).
If it boots to a command-line install, then skip the desktop and the keyboard-shortcuts, and just run fsck. Again, view the manual pages.
Again, try re-installing ubuntu-server with another DVD (maybe a bad download?), and check its md5sums.
PS. Put [Code]Code tags[/Code] to make it become:
Code:Code tags.
Last edited by Jonathan Precise; September 24th, 2013 at 03:58 PM. Reason: Code tags (#)
-Jonathan
Status: CELEBRATING 2016!!! (Offline )
Hi all,
I installed Windows 7 after Ubuntu. To fix grub I used a live Ubuntu USB stick with boot-repair. I used recommended settings and Boot-repair's output was that everything was alright and that I need to reboot.
After rebooting I'm not able to see grub menu and it automatically loads Windows 7.
My pastebin is:
http://paste.ubuntu.com/6151796
@hTCer6R
Afraid I know nothing about LVM. But power outages and abnormal shutdowns almost always cause issues. If you ran fsck and reinstalled boot loader and it still does not work perhaps more significant damage?
@Jonathan Precise and Geezanansa
I have seen some others with success with rEFInd. I will add it as a reference in my help tread on UEFI.
@klikacisko
Windows partition tools do not correctly see Linux partitions in an extended partition. They often do not rewrite partition table and leave out the Linux partition. You look like you have space from start of extended to start of swap in extended where a Linux partition probably was. If you do not know exact sector start to repair, then testdisk may find old partition and let you restore it.
https://help.ubuntu.com/community/Da...Lost_Partition
Instructions
http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
http://www.cgsecurity.org/wiki/Menu_Analyse
https://help.ubuntu.com/community/DataRecovery
http://www.cgsecurity.org/wiki/TestDisk
UEFI boot install & repair info - Regularly Updated :
https://ubuntuforums.org/showthread.php?t=2147295
Please use Thread Tools above first post to change to [Solved] when/if answered completely.
@hTCer6R
Your boot info report shows grub in MBR looking for boot files inside LVM, but you have a separate /boot. Did you not tick the separate /boot partition when using Boot-Repair to reinstall grub?
/boot detected. Please check the options.
UEFI boot install & repair info - Regularly Updated :
https://ubuntuforums.org/showthread.php?t=2147295
Please use Thread Tools above first post to change to [Solved] when/if answered completely.
Bookmarks