Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] GRUB + ext3 with 128 bytes inodes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Tue Jan 20, 2009 2:43 pm    Post subject: [SOLVED] GRUB + ext3 with 128 bytes inodes Reply with quote

Hi there. I've read a few posts on this, but got stuck, as i've already formatted the partition again, this time with 128 byte inode size, and it still gives out the same. Any ideas?

Code:

livecd grub # tune2fs -l /dev/sda1
tune2fs 1.40.8 (13-Mar-2008)
Filesystem volume name:   Gentoo
Last mounted on:          <not available>
Filesystem UUID:          a4758d71-1164-4c95-a729-28fde31d9592
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Filesystem flags:         signed_directory_hash
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              1224000
Block count:              4885760
Reserved block count:     244288
Free blocks:              4501500
Free inodes:              1057891
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1022
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8160
Inode blocks per group:   255
Filesystem created:       Tue Jan 20 14:11:09 2009
Last mount time:          Tue Jan 20 14:11:24 2009
Last write time:          Tue Jan 20 14:11:24 2009
Mount count:              1
Maximum mount count:      29
Last checked:             Tue Jan 20 14:11:09 2009
Check interval:           15552000 (6 months)
Next check after:         Sun Jul 19 14:11:09 2009
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      5c64194f-3dc5-487f-bc9a-c8a2f4a06ef6
Journal backup:           inode blocks


Quote:

livecd grub # grub-install --no-floppy /dev/sda
The file /boot/grub/stage1 not read correctly


Quote:
livecd grub # equery list grub
[ Searching for package 'grub' in all categories among: ]
* installed packages
[I--] [ ] sys-boot/grub-0.97-r6 (0)


I've tried normal grub, tried recompiling it with static USE flag, and grub-static.... nothing worked
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...


Last edited by Rhiakath on Tue Jan 20, 2009 4:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue Jan 20, 2009 3:50 pm    Post subject: Reply with quote

yours is not the inode problem
boot cd, run
Code:
fdisk -l
cat /etc/fstab
cat /boot/grub/grub.conf
grub
find /boot/grub/stage1
and post results here.
Annotate the fstab -l to indicate location of / and /boot as you know them to be.
Back to top
View user's profile Send private message
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Tue Jan 20, 2009 4:27 pm    Post subject: Reply with quote

WTF??????????????

I did an fdisk -l as you said, and this is what it showed me..

Code:

localhost ~ # fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf6508fad

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2433    19543041   af  Unknown
/dev/sda2            2434        2558     1004062+  82  Linux swap / Solaris
/dev/sda3            2559       51190   390636540   83  Linux
/dev/sda4   *           1           1           0    0  Empty
Partition 4 does not end on cylinder boundary.

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa36c4844

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        3648    29302528+   7  HPFS/NTFS
/dev/sdb2            3649       30401   214893472+   7  HPFS/NTFS


WTF is sda4?????
BTW, i'm not booting from boot cd. i booted from the machine itself, with lilo. But i do want grub to work.
Code:

localhost ~ # cat /etc/fstab | grep -v \#


/dev/sda1               /               ext3            defaults                0 1
/dev/sda2               none            swap            sw                      0 0
/dev/sda3               /home           reiserfs        defaults                0 0
/dev/sdb1               /mnt/Windows    auto            defaults,users,umask=0660               0 0
/dev/sdb2               /mnt/Windows2   auto            defaults,users,umask=0660               0 0

/dev/sdc1               /mnt/usb        auto            noauto,users,defaults   0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,users,defaults   0 0
/dev/WD_Passport_1      /mnt/external   auto            noauto,users,defaults   0 0
/dev/Pen2Gb_1           /mnt/Pen2Gb     auto            noauto,users,defaults   0 0
/dev/Pen4Gb_1           /mnt/Pen4Gb     auto            noauto,users,defaults   0 0

shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0


Code:

localhost ~ # cat /boot/grub/grub.conf
default 0
timeout 1

title           Gentoo Linux
root            (hd0,0)
kernel          /boot/vmlinuz root=/dev/sda1


as for grub...
Code:

   GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> find /boot/grub/stage1

Error 15: File not found

grub> find /boot

Error 15: File not found

grub>



EDIT:
Ok , i corrected the partition thingie with fdisk (changed the type to linux, deleted sda4, marked sda1 as bootable), and it worked....

I guess that little Leopard installation i tried yesterday (and failed) DID do something to the partitions afterall.....


Thanks.
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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