[snip]
>
> Hi,
>
> I just create a lvm partition in my ppc machine which installs debian
> lenny, and it seems all right. BTW, what's the result of "ls -l"
> inside grub console, does it list partitions properly ?
>
Well it find well devices and even lvm srtuctures but not fs on those
structures; here is the info:
As lvm module doesn't part of my grub image:
grub> insmod lvm
grub> lsmod
Name Ref Count Dependencies
lvm 1
minicmd 1
affs 0 fshelp
afs 0 fshelp
afs_be 0 fshelp
befs 0 fshelp
befs_be 0 fshelp
cpio 0
hfs 0
hfsplus 0 fshelp
iso9660 0 fshelp
jfs 0
minix 0
ntfs 0 fshelp
reiserfs 0 fshelp
sfs 0 fshelp
tar 0
udf 0 fshelp
ufs1 0
ufs2 0
xfs 0 fshelp
ls 1 lib,extcmd
extcmd 2
nmenu 1 lib,boot
boot 2
sh 1 lib
part_msdos 1
fat 1
ext2 1 fshelp
fshelp 14
normal 2 lib
lib 9
kernel 1
grub> ls -l
Device system-swap: Unknown filesystem
Device system-root: Unknown filesystem
Device system-home: Unknown filesystem
Device p5tst001vg-Sources: Unknown filesystem
Device p5tst001vg-UsrSrc: Unknown filesystem
Device p5tst001vg-home: Unknown filesystem
Device p5tst001vg-tmp: Unknown filesystem
Device p5tst001vg-var: Unknown filesystem
Device disk2: Partition table
Partition disk2,7: Unknown filesystem
Partition disk2,6: Filesystem type ext2, Last modification
time 2009-12-03 14:29:59 Thursda
y, UUID 3c51c43e-63a7-4ff1-9b1c-cf98addcb7ed
Partition disk2,5: Unknown filesystem
Partition disk2,3: Filesystem type ext2, Last modification
time 2009-12-03 14:30:03 Thursda
y, UUID 16ef0754-c845-46e9-a948-b9669ee68329
Partition disk2,1: Filesystem type fat, Label grub2, UUID
4adc-336e
Device disk1: Partition table
Partition disk1,2: Unknown filesystem
Partition disk1,1: Filesystem type fat, Label 'root', UUID
4ad5-c9f7
some explamation:
disk1 (as I defined by previous nvalias) contains the opensuse
installation and contains well 2 slices:
1/ the small fat fs containing yaboot loader
2/ a biger slice containing the 'system' volume group which itself
contains well 3 logical volumes swap, root, home
disk2 contains my debian installation which is still of more classical
silces implementation:
1/ a small fat fs containing now burg image and modules
2/ a a biger slice of about 2Gb for the root (/) fs
3/ the last slice with the rest of the disk containing a vg
'p5tst001vg' for the lv tmp, var, home, 2 more stuff for my usage.
And iirc the disk1 where well formated with opensuse tools and disk2
with debian tools (iirc the first release of 5.0 netinst cd).
That said, this is a small system with all 4 disk bay occupied by disk
usefull for other purpose; more over there isn't external enclosure
available to build a new installation. Any way on disk2 there is still
a very small free space (about 7Mb) where I can create a new vg and a
lv with more recent debian tools (latest unstable updated last
Monday):
(p5_sid)root@p5tst001:~# vgcreate burgvg /dev/sdb2
No physical volume label read from /dev/sdb2
Physical volume "/dev/sdb2" successfully created
Volume group "burgvg" successfully created
(p5_sid)root@p5tst001:~# lvcreate -n tstlv -L 2M burgvg
Rounding up size to full physical extent 4.00 MiB
Logical volume "tstlv" created
(p5_sid)root@p5tst001:~# mke2fs -t ext3 -m 0 /dev/mapper/burgvg-tstlv
mke2fs 1.41.9 (22-Aug-2009)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
1024 inodes, 4096 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=4194304
1 block group
8192 blocks per group, 8192 fragments per group
1024 inodes per group
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
(p5_sid)root@p5tst001:~# mkdir /mnt/bt
(p5_sid)root@p5tst001:~# mount /dev/mapper/burgvg-tstlv /mnt/bt
(p5_sid)root@p5tst001:~# bdf
Filesystem 1K-blocks Used Available Use% Mounted on
[snip]
/dev/mapper/p5tst001vg-home
507748 26966 480782 6% /home
/dev/mapper/p5tst001vg-UsrSrc
2064208 825664 1238544 40% /usr/src
/dev/mapper/p5tst001vg-Sources
2567984 1758764 809220 69% /Sources
/dev/mapper/burgvg-tstlv
3963 1058 2905 27% /mnt/bt
At the reboot, grub see well the new lv but still failed to see the
underlying fs ;<(
grub> ls -l
Device system-swap: Unknown filesystem
Device system-root: Unknown filesystem
Device system-home: Unknown filesystem
Device burgvg-tstlv: Unknown filesystem
Device p5tst001vg-Sources: Unknown filesystem
Device p5tst001vg-UsrSrc: Unknown filesystem
Device p5tst001vg-home: Unknown filesystem
Device p5tst001vg-tmp: Unknown filesystem
Device p5tst001vg-var: Unknown filesystem
Device disk2: Partition table
Partition disk2,7: Unknown filesystem
Partition disk2,6: Filesystem type ext2, Last modification
time 2009-12-04 08:43:51 Friday,
UUID 3c51c43e-63a7-4ff1-9b1c-cf98addcb7ed
Partition disk2,5: Unknown filesystem
Partition disk2,3: Filesystem type ext2, Last modification
time 2009-12-04 08:43:50 Friday,
UUID 16ef0754-c845-46e9-a948-b9669ee68329
Partition disk2,2: Unknown filesystem
Partition disk2,1: Filesystem type fat, Label grub2, UUID
4adc-336e
Device disk1: Partition table
Partition disk1,2: Unknown filesystem
Partition disk1,1: Filesystem type fat, Label 'root', UUID
4ad5-c9f7
But for you it works so I will go back to the log of my build to see
if I can read some relevant warning?
Tx a lot,
J.
[snip]