0

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

1 Answers1

0

It's a very bad idea to run Ubuntu on a non-native file system. It'll work for a while and then give you problems (which is what's happening now).

Therefore:

  1. Boot Windows and run a CHKDSK X: /F /R where X: is the drive letter of the partition currently failing.
  2. Back-up all your files from this partition
  3. Read How to efficiently partition a single Windows-Ubuntu dual boot disk to avoid problems in the future and take this answer how you should do it.
  4. Re-install Ubuntu using your new knowledge...

And especially: don't use the link in your question as it is a solution using ext3 and ext4. (Which is what I'm trying to make you use from now on)

Fabby
  • 35,017