Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
modifying kernel cause system panic unable to boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
txykumat
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2014
Posts: 104

PostPosted: Wed Jan 28, 2015 4:27 pm    Post subject: modifying kernel cause system panic unable to boot Reply with quote

error is common one...sorry. munt VFS file system error, blinking cursur on the top left. After I use genkernel all, then if I go to /usr/src/linux and do make menuconfig to add things like support for KVM, my machine become unbootable. Why is this? What am I doiing wrong? Making one change in kernel .config file should not make machine un-bootable...

just wondering ...
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Wed Jan 28, 2015 7:08 pm    Post subject: Reply with quote

you could try genkernel next.

anyway why do not you try to build your own kernel?
Back to top
View user's profile Send private message
teliot
n00b
n00b


Joined: 26 Jan 2015
Posts: 6
Location: USA

PostPosted: Wed Jan 28, 2015 7:28 pm    Post subject: Reply with quote

can you post a link to your /usr/src/linux/.config in a pastebin?
what does "eselect kernel list" say?
what is the output of "fdisk -l"
is the initrd setup correctly in grub?
Back to top
View user's profile Send private message
txykumat
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2014
Posts: 104

PostPosted: Wed Jan 28, 2015 8:34 pm    Post subject: Reply with quote

tw04l124 wrote:
you could try genkernel next.

anyway why do not you try to build your own kernel?


I thught it was Gentoo things to do and thought everyoone compiles ownn kernel...whens some option is missing from kernel I have to go in and manually make changes and make make && modules_install
Code:
toru@crux ~ $ eselect kernel list
Available kernel symlink targets:
  [1]   linux-debian-sources-3.16.2 *
toru@crux ~ $


.config file is at: http://pastebin.com/Yn4Ea3Fv

Code:

crux toru # fdisk -l /dev/sda

Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 319581F4-33E2-424B-BA43-EF52797566EE

Device        Start       End  Sectors  Size Type
/dev/sda1      2048   1026047  1024000  500M Linux filesystem
/dev/sda2   1026048   9414655  8388608    4G Linux swap
/dev/sda3   9414656  72318975 62904320   30G Linux filesystem
/dev/sda4  72318976 124745727 52426752   25G Linux filesystem

crux toru #


Code:
crux grub # cat/fstab
bash: cat/fstab: No such file or directory
crux grub # cat /etc/fstab
# /etc/fstab: static file system information.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# See the manpage fstab(5) for more information.
#
# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

/dev/sda1               /boot           vfat            auto,noatime    1 2
/dev/sda2               none            swap            sw              0 0
/dev/sda3               /               xfs             noatime         0 1
#/dev/cdrom             /mnt/cdrom      auto            noauto,ro       0 0


Code:

set timeout=3

  insmod part_gpt
  insmod fat
  set root=(hostdisk//dev/sda,gpt1)
  search --no-floppy --fs-uuid --set 7DAF-19B0
if loadfont /grub/unifont.pf2; then
   set gfxmode=640x480
   insmod all_video
   terminal_output gfxterm
fi

set menu_color_normal=cyan/blue
set menu_color_highlight=blue/cyan

menuentry "Funtoo Linux - bzImage" {
  insmod part_gpt
  insmod fat
  set root=(hostdisk//dev/sda,gpt1)
  search --no-floppy --fs-uuid --set 7DAF-19B0
  linux /bzImage rootfstype=xfs root=/dev/sda3
  set gfxpayload=keep
}

menuentry "Funtoo Linux genkernel - kernel-debian-sources-x86_64-3.16.2-3" {
  insmod part_gpt
  insmod fat
  set root=(hostdisk//dev/sda,gpt1)
  search --no-floppy --fs-uuid --set 7DAF-19B0
  linux /kernel-debian-sources-x86_64-3.16.2-3 real_root=/dev/sda3
  initrd /initramfs-debian-sources-x86_64-3.16.2-3
  set gfxpayload=keep
}
set default=0

                               [ Read 34 lines ]
^G Get Help    ^O Write Out   ^W Where Is    ^K Cut Text    ^T To Spell
^X Exit        ^R Read File   ^\ Replace     ^U Uncut Text  ^C Cur Pos


Code:

crux grub # ls -l /boot
total 18536
drwxr-xr-x 3 root root    4096 Jan 25 20:47 EFI
-rwxr-xr-x 1 root root 2838830 Jan 26 15:54 System.map-debian-sources-x86_64-3.16.2-3
-rwxr-xr-x 1 root root 5397856 Jan 27 10:23 bzImage
drwxr-xr-x 6 root root    4096 Jan 27 12:29 grub
-rwxr-xr-x 1 root root 7397280 Jan 26 16:29 initramfs-debian-sources-x86_64-3.16.2-3
-rwxr-xr-x 1 root root 3333408 Jan 26 15:54 kernel-debian-sources-x86_64-3.16.2-3
crux grub #
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5733

PostPosted: Wed Jan 28, 2015 9:05 pm    Post subject: Reply with quote

There's your problem - Funtoo overwrote your Gentoo installation with its own grub config.
Back to top
View user's profile Send private message
txykumat
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2014
Posts: 104

PostPosted: Wed Jan 28, 2015 10:00 pm    Post subject: Reply with quote

Ant P. wrote:
There's your problem - Funtoo overwrote your Gentoo installation with its own grub config.


Ohhhhh. I am so sorry for this but this is funtoo installation. I hope it was OK to seek help here with more eye balls
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43072
Location: 56N 3W

PostPosted: Wed Jan 28, 2015 10:28 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Unsupported Software.
Funtoo isn't Gentoo and we don't want gentoo users being mislead.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum