LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   kernel panic with ntfs slackware 14 (https://www.linuxquestions.org/questions/slackware-14/kernel-panic-with-ntfs-slackware-14-a-4175477203/)

donnestorin 09-15-2013 08:44 AM

kernel panic with ntfs slackware 14
 
Hi Friends,

I have a small problem.
I have a 1TB HDD. This hard drive had windows.
Then in Fedora I eliminated all Windows directories.
Now that I have Slackware 14 I connect and start the pc. I get a Kernel Panic

How I can fix this?

allend 09-15-2013 10:52 AM

Welcome to LQ!
Quote:

I have a small problem.
Pass.
Quote:

I have a 1TB HDD. This hard drive had windows.
Is this an internal hard drive or an external hard drive?
Quote:

Then in Fedora I eliminated all Windows directories.
Do you mean directories or partitions? How did you run Fedora?
Quote:

Now that I have Slackware 14 I connect and start the pc. I get a Kernel Panic
How did you install Slackware?
What are the details of the PC?
What is the error that you see?

donnestorin 09-15-2013 11:11 AM

Internal DIsk
Windows Directories. Hard Disk Have 3 Partitions NTFS
Install from DVD clean install(I Have disconnect HD)
iCore 5(x64)
8GB
1 HD 500 GB (Slackware)
1 HD 1 TB (Disconnect)

When Load OS read de HD y crash with KP

allend 09-15-2013 11:28 AM

If you removed Windows directories, then this will not affect Slackware.

Please clarify the disk arrangement. What do you mean by?
Quote:

1 HD 500 GB (Slackware)
1 HD 1 TB (Disconnect)
Was this a full install?
Did you install the huge kernel or the generic kernel with an initrd?
What is causing the kernel to panic?

donnestorin 09-15-2013 11:40 AM

1) Was this a full install?
2) Did you install the huge kernel or the generic kernel with an initrd?
3) What is causing the kernel to panic?
---------------------------------------------------------------------------------------------------------------------------
1) Yes full install
2) Huge kernel
3) I think that is ntfs package.

allend 09-15-2013 07:15 PM

Are you trying to install Slackware on an NTFS formatted partition?
It would be best to format the partition to a Linux format. The default is ext4.
Perhaps this will help. http://docs.slackware.com/slackware:install

mostlyharmless 09-16-2013 01:16 AM

Perhaps he reconnected the ntfs 1 TB drive after installing Slackware and borked up LILO's drive assignment. I would have him/her boot from the DVD, chroot in and rerun LILO if that is the case.

donnestorin 09-16-2013 08:29 PM

I use this hard drive as a backup, nothing more, other distributions read my hard drive

PrinceCruise 09-17-2013 02:16 AM

1) Did you accidentally install lilo on second hard drive? I'd go with mostlyharmless's suspicion.
2) Did you crate a separate partition for /boot and what file system?


Regards.

allend 09-17-2013 07:26 AM

Perhaps the OP had Fedora installed on an internal 500GB hard disk, then attempted to install Slackware instead.
If the disk had not been completely reformatted prior to the Slackware install, or LILO was not installed in the MBR, then there may be a problem with a residual GRUB bootloader.

turtleli 09-17-2013 08:15 AM

Can you copy the messages that show up before and at the kernel panic? It'll be easier for people to help you out that way.

donnestorin 09-18-2013 09:42 PM

At the time I had installed Fedora.
I also had debian on the 500GB hard drive
And they would they acknowledged the ntfs partition.

Just slackware does not recognize the hard drive

gnashley 09-19-2013 01:36 AM

So is it just a single hard drive? How is it partitioned?

donnestorin 09-20-2013 07:18 PM

2 Partitions NTFS 2 Partitions have many files :-(

allend 09-20-2013 08:10 PM

From post#3
Quote:

Hard Disk Have 3 Partitions NTFS
From post#14
Quote:

2 Partitions NTFS
Please post the output of 'fdisk -l' when run at the command line as the root user.

donnestorin 09-21-2013 11:54 PM

I can not since returned kernel panic

allend 09-22-2013 03:45 AM

So your problem is that you cannot successfully boot your Slackware install.

This suggests a problem with your bootloader setup but we would need the output requested in post#11.

gnashley 09-22-2013 04:15 AM

Slackware can't be installed to an NTFS partition.

Didier Spaier 09-22-2013 04:43 AM

You will need to boot with your installation media.

After logging in as root, don't run setup again but issue following command:
Code:

fdisk -l
take a note of the output and report it here.

You can also tell how these partitions are used.

Consider the partitions that have Linux as System (as shown in fdisk -l) and do this (I assume /dev/sda1 has System Linux, adapt accordingly for the other ones case occuring):
Code:

mkdir /P1
mount -t auto /dev/sda1 /P1
ls -1 /P1

So you will know what's in it. I assume you have a / (root) partition for Slackware, maybe another one for /home.

If you report the layout you find we will be able to help you.

Also if you find the root partition, let's say as /P1 (with /etc in it), please do
Code:

cat /P1/etc/fstab
cat /P1/etc/lilo.conf

and tell us what you find.

To avoid you the hassle of copying all that on a paper you could also mount an USB key. Plug it in, assuming it is recognized as /dev/sdb1 (you can check with cat /proc/partitions), mount it:
Code:

mkdir /key
mount -t auto /dev/sdb1 /key

After that you can copy the file to the key, e.g.
Code:

cp /P1/etc/fstab /key/fstab.txt
The same way you can copy the results of a command, e.g.
Code:

fdisk -l > /key/fdisk.txt
ls -l /P1 > /key/lsP1.txt

When copying files is over, don't forget to umount the key:
Code:

umount /key
EDIT Again, It seems that I like to complicate things uselessly - just boot your system using the DVD as told in the first screen of the installer to get the info we need :confused:

guanx 09-24-2013 03:36 AM

Quote:

Originally Posted by gnashley (Post 5032412)
Slackware can't be installed to an NTFS partition.

You can load Linux from NTFS with LILO, though this is not a good idea due to lack of POSIX permissions and etc..

gnashley 09-24-2013 11:16 AM

You might be able to load the linux kernel from NTFS, but no distro is going to be able to boot from an NTFS filesystem -except for one which loop-mounts an FS image from NTFS.

guanx 09-24-2013 12:31 PM

2 Attachment(s)
Quote:

Originally Posted by gnashley (Post 5033945)
You might be able to load the linux kernel from NTFS, but no distro is going to be able to boot from an NTFS filesystem -except for one which loop-mounts an FS image from NTFS.

As long as you can load the kernel image you can have a complete system. I've made a demo a few years ago:
Code:

chmod +x bbsplay.txt
./bbsplay.txt ntfs_slack.log


gnashley 09-24-2013 01:42 PM

Yeah, well you got me there -I meant an installed system. Sounds pretty safe to assume the OP is not booting a fat kernel with a huge intrdfs inside...

guanx 09-24-2013 03:09 PM

Quote:

Originally Posted by gnashley (Post 5034013)
...
Sounds pretty safe to assume the OP is not booting a fat kernel with a huge intrdfs inside...

This demo is using the official "generic" kernel. LILO loaded both the bzImage and the initrd from NTFS (LILO does not care about the FS actually).

However, I agree that the OP is unlikely doing this way.

WhiteWolf1776 09-25-2013 01:03 PM

Calling Troll on this guy... he did similar in the G+ slackware group... helping just lead to frustration as the answers kept changing and the story got more and more bizarre... sry, not buying this is a real problem.

Just like on G+, he never answers your questions with anything useful, never answers them the same way twice, and never gives you any idea of what is really going on... you could get more information from emacs psychoanalyze scripts.


All times are GMT -5. The time now is 05:41 AM.