I have my drive partitioned. When choosing for ubuntu to boot, it doesn't and stays on a blank purple screen. it seems that this site has a solution to my problem
http://bernaerts.dyndns.org/linux/74-ubuntu/232-ubuntu-boot-failure-initramfs
but I want to make sure that forcing an fsck won't mess anything up. I ran a check on my hard drive and it says it has 16 bad sectors. Will doing the fsck help with this? (ie write in places where the drive is not messed up?). any ideas? thanks!
When accessing GRUB and booting it in recovery mode, it ends in this (I transcribed it, I may have made some mistakes)
mount: mounting /dev/loopO on /root failed: Invalid argument
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev f: no such file or directory
done.
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.10.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash)
Enter 'help' for a list of built in commands
(initramfs) _
ubuntu@ubuntu:~$ sudo parted —list
Model: ATA TOSHIBA MK3259GS (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 26.8GB 26.8GB primary fat32 hidden, lba
2 26.8GB 155GB 128GB primary ntfs boot
3 155GB 320GB 165GB primary ntfs
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: Can’t have a partition outside the disk!
ubuntu@ubuntu:~$ sudo fsck /dev/sda3
fsck from util-linux 2.20.1
fsck: fsck.ntfs: not found
fsck: error 2 while executing fsck.ntfs for /dev/sda3
gparted
for a GUI and typesudo parted --list
for command line... – Fabby Feb 10 '15 at 09:32smartmontools
and then run asmartctl --all /dev/sda
to see if you have any serious problems with your disk? (I suspect a disk failure) – Fabby Feb 10 '15 at 09:35smartmontools
which contains (amongst other things)smartctl
. As you're a beginning Ubuntu user, please also read this: How to install software for a future ex-Windows user – Fabby Feb 10 '15 at 10:16fdisk
any more, it's deprecated! Anyway: I see what your problem is... Go back here: http://askubuntu.com/questions/6328/how-do-i-install-ubuntu and pay particularly attention to Item 9. – Fabby Feb 11 '15 at 10:16fdisk -l
, useparted --list
instead". Fdisk is as old as the original PC itself and cannot handle GPT, only MBR... As to Item 9: Indeed! make a separate partition for Ubuntu. Have a look here for more info... – Fabby Feb 11 '15 at 13:07CHKDSK /f /r
under Windows... – Fabby Feb 14 '15 at 09:00CHKDSK /f /r
? – Jerome Morrow Feb 16 '15 at 06:24