Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
Hello all. I had a trouble and I tryed to fix it, but another one had appeared. Let me explain: I got the following message: couldnīt find matching filesystem label:/mnt/data ...
  1. #1
    HTR
    HTR is offline
    Just Joined!
    Join Date
    Feb 2007
    Posts
    10

    Unhappy I got the terrible message: kernel panic !

    Hello all.

    I had a trouble and I tryed to fix it, but another one had appeared.
    Let me explain:
    I got the following message:
    couldnīt find matching filesystem label:/mnt/data

    well, I read in another forum the following lines:
    "if you are using ext2 or ext3 filesystems, and you know what the 'real' device is, i.e '/dev/hda3' you can try to relabel that device and partition as root with:
    tune2fs -L /backup1 /dev/hda3"

    well, I thought that the real device would be hda1, so I executed the command like this:
    tune2fs -L /mnt/data /dev/hda1

    but I was wrong, because after this I reboot the machine and I got a terrible message: kernel panic no init found.

    Can anyone help me with this ?

    Best regards,

    HTR.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Which Linux Distro are you using?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    HTR
    HTR is offline
    Just Joined!
    Join Date
    Feb 2007
    Posts
    10
    CentOS 3, kernel 2.4

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Okk ! Boot from any Live CD or try boot up in Rescue mode. Post the contents of /etc/fstab, /boot/grub/grub.conf files and output of fdisk -l command.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    HTR
    HTR is offline
    Just Joined!
    Join Date
    Feb 2007
    Posts
    10
    Ok casper, I´ll try this. Thks.

  6. #6
    HTR
    HTR is offline
    Just Joined!
    Join Date
    Feb 2007
    Posts
    10
    Hello.

    I booted with Ubuntu Live CD. fdisk -l didn´t return anything. There wasn´t the grub.conf and the content of /etc/fstab was:
    /dev/mapper/casper-snapshot / auto noatime 0 0
    tmpfs /tmp tmpfs nosuid, nodev 0 0
    /dev/hda2 swap swap defaults 0 0

    That´s all.

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You have to mount CenOS Partitions.
    Execute this
    Code:
    sudo fdisk -l
    * -l, Its small L.
    It will ask for password. Hit Enter key.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    HTR
    HTR is offline
    Just Joined!
    Join Date
    Feb 2007
    Posts
    10
    Do you mean type this command line with Ubuntu or CentOS ? ´Cause I can´t get no command line with CentOS, the boot freezes at the message kernel panic...

  9. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Boot up from Ubuntu and execute above command. Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #10
    HTR
    HTR is offline
    Just Joined!
    Join Date
    Feb 2007
    Posts
    10
    Here it is:
    Disk /dev/hda: 80.0 GB
    device boot Start End Blocks Id System
    /dev/hda1 * 1 9598 77095903+ 83 Linux
    /dev/hda2 9599 9729 1052257+ 82 Linux Swap

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...