-1

I have a big problem and I can't fix it So i was installing windows and removed the partition from there and got an error that i can't use this hard drive so i restarted my computer and got this error and now i don't know what to do, i just wanted to clean my disk and use it on windows

and i don't have access to bios or boot menu i don't know why

The command line here:

[  1.184301] nouveau 0000:01:00.0: bios: 00B 1 d7500086 d7500086 
/dev/sda1: The filesystem size (according to the superblock) is 244190208 blocks 
The physical size of the device is 244189952 blocks 
Either the superblock or the partition table is likely to be corrupt! 

/dev/sda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. 
        (i.e., without -a or -p options) 
fsck exited with status code 4 
The root filesystem on /dev/sda1 requires a manual fsck 

BusyBox v1.22.1 (Ubuntu 1:1.22.0-19ubuntu2) built-in shell (ash) 
Enter 'help' for a list of built-in commands. 

(initramfs)
Linksu
  • 1

1 Answers1

0

At the (initramfs) prompt, type fsck -f /dev/sda1, then reboot.

For 18.04 or newer... (or if the above steps don't work for you)...

  • boot to a Ubuntu Live DVD/USB
  • open a terminal window by pressing Ctrl+Alt+T
  • type sudo fdisk -l
  • identify the /dev/sdXX device name for your "Linux Filesystem"
  • type sudo fsck -f /dev/sdXX, replacing sdXX with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot

Update #1:

If Windows is the only OS that you want, then boot the Ubuntu Live USB, start gparted, and lay down a fresh partition table (this will wipe the drive). Use MBR if you have an older BIOS computer, or GPT if you have a newer UEFI computer or a large disk. Then go ahead and install Windows.

heynnema
  • 73,649