LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-20-2013, 01:26 PM   #1
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Rep: Reputation: 30
Cannot boot with ext4


Hello,

I installed 14.0 with a ext4 partition and lilo on the root partition.

After that I pointed Easybsd to where lilo can be found.
But after booting it's stops with this message :

ext3fs (sda1) Error: could not mount because of unsupported options.

I verified the downloaded iso and it's allright. The md5sum's are correct.

Roelof
 
Old 12-20-2013, 02:34 PM   #2
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272

Rep: Reputation: 45
Please show your /etc/fstab, /etc/lilo.conf. Also which kernel do you use? To boot your installed system, boot from installation media, then after "boot:>" line type:
Code:
root=/dev/sda1 rdinit= ro
where /dev/sda1 is your root partition, and then press Enter. If it's does not work, you can execute a chroot into installed system:
First, boot from installation media, log in as root and then:
Code:
# mount /dev/sda1 /mnt
# for i in dev proc sys ; do mount --bind "$i" "/mnt/$i"; done
# chroot /mnt
# cat /etc/fstab
# cat /etc/lilo.conf
# ls -l /var/log/packages/kernel*

Last edited by yars; 12-20-2013 at 02:35 PM.
 
1 members found this post helpful.
Old 12-20-2013, 03:27 PM   #3
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello,

I have wrote them on paper.

fstab :
Code:
/dev/sda1    /             ext4 defaults       1   1 
/dev/fdo     /mnt/floppy   auto noauto, owner  0   0 
devpts       /dev/pts      devpts              0   0 
proc         /dev/proc     proc defaults       0   0
relavant part of lilo.conf
Code:
image  /boot/vmlinuz
       root=/dev/sda1
       label=Linux 
       readonly
kernelversion : 3.2.29

Roelof
 
Old 12-20-2013, 07:28 PM   #4
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272

Rep: Reputation: 45
Your kernel is kernel-huge* package? Please check for this and also check for that kernel-modules package is in accord to the kernel package, i.e:
Code:
# ls -1 /var/log/packages/kernel-{huge,modules}-smp*
/var/log/packages/kernel-huge-smp-3.2.29_smp-i686-1
/var/log/packages/kernel-modules-smp-3.2.29_smp-i686-1
That's used on my 14.0 system. Also, maybe the your HDD is partitioned or formatted incorrectly? Please show:
Code:
# fdisk -l
# file -s /dev/sda
# file -s /dev/sda1
About
Code:
ext3fs (sda1) Error: could not mount because of unsupported options.
It's okay, i think the kernel tries to find a suitable module for filesystem. On my system I have:
Code:
[    1.725206] EXT3-fs (sda2): error: couldn't mount because of unsupported optional features (240)
[    1.727182] EXT2-fs (sda2): error: couldn't mount because of unsupported optional features (240)
[    1.748328] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
As you see, I use the ext4 filesystem.

Last edited by yars; 12-20-2013 at 07:42 PM.
 
Old 12-21-2013, 03:21 AM   #5
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello,

The file -s does not work on the install disk.

I noticed that first it seems to be stuck at checking for RAID arrays.
Then when it goes on I see the first, sometimes the second line ext2, ext3 but that took also ages.
Is there a way I can tell lilo not to check Raid and that the rootfs is ext4.

Wierdest thing is that 14.1 has not that problem.It boots very fine but then I cannot install Dropline Gnome.
The version is not released yet and I have no idea when that happens.

Roelof
 
Old 12-21-2013, 10:18 PM   #6
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272

Rep: Reputation: 45
Hello,
Lilo does not support access to the kernel as a file on a filesystem at boot time, he does not depend on a filesystem. Lilo looks for kernel image on a first 0...1023 cylinders.
Can you provide a photo of screen when boot process is stopped? Currently I have no any ideas, sorry for that.
UPD: But you can make a 'file -s something' to work on the install disk with following commands:
Code:
# mkdir -p /mnt/dvd # just in case, by default /mnt/dvd is exist (but I could be wrong) 
# mount -r /dev/sr0 /mnt/dvd # that is boot device that contain a boot media
# installpkg /mnt/dvd/slackware/a/file*txz

Last edited by yars; 12-21-2013 at 10:43 PM.
 
Old 12-21-2013, 11:24 PM   #7
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Rep: Reputation: 81
I hope the '/dev/fdo' in your fstab is a typo ...
I have seen strange behaviour with typo's there ...
 
Old 12-22-2013, 12:21 AM   #8
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 272

Rep: Reputation: 45
Quote:
I hope the '/dev/fdo' in your fstab is a typo ...
Maybe. But, this is a floppy. If you have a floppy drive then it's normal, otherwise you can comment out this line. But yes, between parameters auto, noauto the spacebar is not needed. But charlie_lab says he copied from the paper.

Last edited by yars; 12-22-2013 at 12:23 AM.
 
Old 12-22-2013, 12:42 AM   #9
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Rep: Reputation: 81
I was speaking of /dev/fdo instead of the correct /dev/fd0
And yes, I know its a floppy, but it comes immediate after the entry for sda1 ... it might have caused errors when reading through the fstab
 
Old 12-22-2013, 08:13 AM   #10
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
This one can be closed. Im giving up on it. It takes to many time.

Roelof
 
Old 12-24-2013, 01:05 AM   #11
GNU/Linux
Member
 
Registered: Sep 2012
Distribution: Slackware-15
Posts: 121

Rep: Reputation: Disabled
Code:
ext3fs (sda1) Error: could not mount because of unsupported options.
May be ext3 is expected instead of ext4?
 
Old 12-24-2013, 06:35 AM   #12
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,177
Blog Entries: 5

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
Originally Posted by charlie_lab View Post
After that I pointed Easybsd to where lilo can be found.
But after booting it's stops with this message :

Do you mean Easybsd, the script to manage post installation of FreeBSD or EasyBCD the Windows utility to manage the Windows bootloader?

Anyway, it seems that Slackware is not the sole OS in your PC. Could you please describe what OS are installed and how Slackware is supposed to be booted?

If you have a dual-boot Windows 7/Vista - Slackware, you should consider reading this tutorial from Alien's Bob: Adding-linux-to-the-windows7-boot-menu/
 
Old 12-24-2013, 09:18 AM   #13
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,712

Rep: Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673Reputation: 1673
I don't think easybsd will boot ext4 will have to use ext3 partition.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing grub on ext4 / non-separate boot PrinceCruise Slackware 17 07-25-2012 07:31 PM
VFS: Can't find ext4 filesystem / PC does not boot bartonlinux Linux - Newbie 2 06-15-2012 10:52 PM
Is it safe to format USB flash to ext4 or ext4? joham34 Linux - Newbie 2 01-08-2011 12:58 PM
Linux boot loader capable of ext4 and of UUID's Virchanza Linux - General 2 03-02-2010 08:27 AM
ext4 needs a fsck every other boot con Linux - Hardware 4 08-21-2009 03:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration