#debian - Tue 20 Feb 2007 between 04:17 and 04:32

NY Lost Funds



Wyzardfridim: That'll get the RAID and LVM recognized, so you can mount and chroot
fridimmodprobe md_mod works too
Wyzardfridim: (or you can run mdadm and lvm stuff manually from a shell, but it's simpler to get the partitioner to do it for you)
holaangin grub-install, how to specify the drive?
fridimmd0 is mounted
holaangis it /dev/hda?
pihhanhi
fridimso, my /boot is mounted.
pihhanwhat gcc is used to compile libs in etch?
still gcc-3.3 as in sarge?
WyzardYou don't need to mount /boot
Just the root filesystem, so you can chroot to it
You'll need to mount /boot within the chroot if you want to use the grub-install convenience tool, but you can also just use the grub shell manually like I mentioned a few minutes ago
fridim(yes but I don't have the grub shell)
WyzardYour installation on your hard drive does
That's why you want to chroot to it
fridimok
ok, as you said, the simplest is to lauch the partitions helper :)
enoufholaang: FWIW, using a LiveCD .. prolly want to; mkdir /mnt/chroot ; mount -t fstype /mnt/chroot ; mount --bind /proc /mnt/chroot ; mount --bind /dev /mnt/chroot ; chroot /mnt/chroot ; grub-install /dev/XXX .. but it may be very diff for RAID/LVM .. and I haven't had to do it yet using the Installer CD, nut I suppose modules need loading beforehand
fridimlvm and md loaded, I will chroot
ok, grub shell started \o/
enoufpihhan: cat /proc/version should tell ya
fridimroot (hd0,0) : Filesystem type unknown, partition type 0x03
pihhanenouf, is kernel version somehow related to libc and other libraries in /lib and /usr/lib?
WyzardYou mentioned that your arrays are on /dev/sdc and /dev/sdd... do you have sda and sdb, and which drive is the BIOS configured to boot from?
fridimI can change the BIOS boot sequence
enouffridim: shouldn't it be FD?
fridimfor the moment it's 0
enoufpihhan: don't quote me on it ;-)
WyzardWhat's 0?
fridimsda
(I guess)
(I'am not sure)
WyzardThe reason it matters is that there's no fixed 1:1 mapping between Linux drive names and BIOS drive numbers
sda is not necessarily (hd0)... it depends on how your BIOS is configured
fridimarg
Wyzardbut unless you've gone and changed it, it's probably configured to boot from the first available drive, in which case (hd0) would indeed be sda
so sdc1 is (hd2,0)
fridimBut I'am nearly sure it's sda
Wyzardok

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 107 114 121 128 135 142 149 156 163 

IrcArchive

NY Lost Funds