LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-13-2009, 08:31 AM   #1
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Rep: Reputation: 31
ext4 and grub


I just upgraded to slackware-current im still running ext3 but thought i might try upgrading my fs to ext4. before doing so i used an empty partition to test it. made hda2 it ext4 and cp -r /boot /mnt/hda2. i rebooted went into the grub console root (hd0,1) told me it was ext2 type 0x83(i read ext4 is backward compatible with ext2 and 3) so i tried kernel /b(tab) brought /boot/ (tab) brought some file name that was all jumbled and doesnt exist. I really dont want to use lilo just to get ext4. is there some way i can fix grub to use ext4? im using grub from slackware-current/extra.
 
Old 03-13-2009, 01:54 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
You may need to apply a patch to grub legacy. I think it was developed as part of Google's Summer of Code. I believe it has been added to the Grub2 development branch.

The other way around might be to keep /boot as ext3 and convert the rest of your filesystem to ext4.
 
Old 03-13-2009, 03:46 PM   #3
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Original Poster
Rep: Reputation: 31
well, i tried installing grub2, but i cant seem to get it to run grub-install, it never does anything, just sits there. and grubconfig doesn't seem to work on grub2 because there's no /usr/sbin/grub
 
Old 03-13-2009, 04:04 PM   #4
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
You could try making a separate /boot partition and format it as ext2 or ext3...
 
Old 03-13-2009, 05:29 PM   #5
mbvo
Member
 
Registered: May 2006
Location: the land of confusion
Distribution: slackware-current
Posts: 220

Original Poster
Rep: Reputation: 31
well i got grub2 to install, but now grub2 sees hda2(ext4) as /boot/???????}\ -> /

ps same result from formating from slackware-current setup and mke2fs -t ext4 /dev/hda2. also mounting it from linux returns the correct files

Last edited by mbvo; 03-13-2009 at 05:31 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ext4 on current? grissiom Slackware 7 03-12-2009 07:27 AM
Ext4 causes a kernel panic phoenix12345 Linux - General 2 02-01-2009 04:08 AM
Grub installation on an ext4 partiton phoenix12345 Linux - Newbie 2 01-30-2009 07:39 AM
From ext3 to ext4 rengo.Java Linux - Software 6 12-27-2008 09:58 AM
Ext4 aukuntin Linux - General 1 09-16-2008 09:15 AM


All times are GMT -5. The time now is 03:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration