Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 5121  / 2 Years ago, mon, march 21, 2022, 10:01:26

So I was in the process of restarting the system last night and it seemed to lock up at the Ubuntu logo that normally appears when restarting or shutting down.



So after waiting an hour or so to restart, I decided to hit the power button to shut down the system. After doing so and pressing the power button once again to start the system, I selected the Ubuntu partition (dual boot machine) and it now doesn't boot at all. I can boot the other OS, which is Windows 7 ok.



There are a list of I guess internal commands listed on the screen and the last command was "Stopping Mount network filesystems [ OK ].



I've tried hitting Ctrl + Alt + Del and the system will restart but will get locked up again on boot.



Is there anything I can? I've had this happen before and being a newbie I just reinstalled the system but after this happened again, I really don't want to reinstall.



Suggestions are always welcomed! Thanks!


More From » 11.10

 Answers
6

Actually, it sounds like the problem you're having might have to do with your initialization commands.



Did you install anything prior to this happening?



Try this:
Boot up off the Ubuntu LiveCD (use the Try Ubuntu option) and open a Terminal and Files:
Click your Ubuntu disk in Files, then close Files.
In the Terminal:



Type:



rootfs="/media/$(cat /etc/fstab | grep "/media.*ext4" | awk '{print $3}'`


Then:



sudo mount --bind /dev "$rootfs/dev
sudo chroot $rootfs
mount -t sysfs none /sys
mount -t proc none /proc
mount -t devpts none /dev/pts
update-initramfs -k all -c
umount /sys
umount /proc
umount /dev/pts
exit
umount "$rootfs/dev"
cp "$rootfs/var/log/apt/history.log" /home/ubuntu


Then, before you restart post the last couple sections of the "history.log" file in the home folder.


[#40269] Wednesday, March 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
arkcker

Total Points: 296
Total Questions: 111
Total Answers: 104

Location: Nepal
Member since Tue, Sep 8, 2020
4 Years ago
arkcker questions
Tue, Aug 17, 21, 00:08, 3 Years ago
Sun, May 14, 23, 01:04, 1 Year ago
Wed, Nov 16, 22, 03:12, 1 Year ago
Tue, Jun 1, 21, 01:29, 3 Years ago
;