Can`t run Ubuntu`s Kernel

G

Guest

Guest
I`m new in Ubuntu . Until now , my computer was able to run Ubuntu`s kernel correctly . Today I met with a serious error . In the first time , there was a purple screen . After restarting , a black screen with error messages (kernel panic etc.) came out . What should I do ? :(
 
Probably some file became corrupted after you restarted the computer uncleanly. Boot a livecd or iiveusb and run a fsck on your filesystem. If fsck does not fix the issue there is probably something more serious going on like hardware or driver error.
 
Use the same installation media that you installed ubuntu with. Open a terminal and run
Code:
sudo fsck -y /dev/sdaX

Where /dev/sdaX is the device/partition of your filesystem you want to check (you can find this with command 'sudo parted -l')
ie /dev/sda1 is my root filesystem:

Code:
$sudo parted -l

Model: ATA KINGSTON SNS4151 (scsi)
Disk /dev/sda: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  13.9GB  13.9GB  primary   ext4            boot
 2      13.9GB  16.0GB  2084MB  extended
 5      13.9GB  16.0GB  2084MB  logical   linux-swap(v1)
 
G

Guest

Guest
What should I do next ?

ubuntu@ubuntu:~$ $sudo parted -l

/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper Ъ�d and kernel driver
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Model: PLDS DVD+-RW DS-8A5SH (scsi)
Disk /dev/sr0: 1151MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:

Number Start End Size File system Name Flags
1 2048B 6143B 4096B Apple
2 1143MB 1145MB 2327kB EFI

 
G

Guest

Guest
I got so many things .

Model: ATA SAMSUNG HM321HI (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 256MB 255MB primary ext2 boot
2 257MB 320GB 320GB extended
5 257MB 320GB 320GB logical lvm


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-root: 316GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 316GB 316GB ext4


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-swap_1: 4194MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 4194MB 4194MB linux-swap(v1)


Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Model: PLDS DVD+-RW DS-8A5SH (scsi)
Disk /dev/sr0: 1151MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:

Number Start End Size File system Name Flags
1 2048B 6143B 4096B Apple
2 1143MB 1145MB 2327kB EFI

 
G

Guest

Guest

I changed my HDD . After this , the problem is solved .