* raid 1 with static kernel.
@ 2005-05-04 15:29 Glatzel Tino
2005-05-04 15:56 ` Tyler
0 siblings, 1 reply; 2+ messages in thread
From: Glatzel Tino @ 2005-05-04 15:29 UTC (permalink / raw)
To: linux-raid
hello list,
my system is a Debian GNU Linux Sarge. The kernelversion is 2.6.10 without
modulsupport.
The partion id is fd.
In the first step, the complete system is installed on /dev/hda3.
In the second step, i have created a raid 1 device:
mdadm --create /dev/md0 --level 1 --raid-device=2 /dev/hda1 /dev/hdc1
mkfs -t ext3 /dev/md0
mount /dev/md0 /mnt
cp -pr /boot /mnt
umount /mnt
I want to mount /dev/md0 in /boot
change in the /etc/fstab
/dev/md0 /boot ext3 defaults 0 2
after a reboot, i see the mounted devices:
/dev/hda3 on / type ext3 (rw,errors=remount-ro)
/dev/md0 on /boot type ext3 (rw)
so, i think i will never need the files in the old /boot directory.
umount /boot
cd /boot
ls
System.map-2.6.8-1-386
config-2.6.8-1-386 vmlinuz-2.6.10
grub vmlinuz-2.6.10-raid-grsec
initrd.img-2.6.8-1-386 vmlinuz-2.6.10-raid-grsec-hotplug
lost+found vmlinuz-2.6.8-1-386
System.map-2.6.10
rm -r *
cd ..
mount /boot
ls /boot
System.map-2.6.8-1-386
config-2.6.8-1-386 vmlinuz-2.6.10
grub vmlinuz-2.6.10-raid-grsec
initrd.img-2.6.8-1-386 vmlinuz-2.6.10-raid-grsec-hotplug
lost+found vmlinuz-2.6.8-1-386
System.map-2.6.10
after a reboot, i see the following message from Grub:
GRUB Loading Stage1.5
GRUB loading, please wait ...
Error 15
Ok, i think GRUB can`t access to /dev/md0
what can i do?
Tino
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: raid 1 with static kernel.
2005-05-04 15:29 raid 1 with static kernel Glatzel Tino
@ 2005-05-04 15:56 ` Tyler
0 siblings, 0 replies; 2+ messages in thread
From: Tyler @ 2005-05-04 15:56 UTC (permalink / raw)
To: Glatzel Tino, linux-raid
Try this howto:
http://www.linuxsa.org.au/mailing-list/2003-07/1270.html
Regards,
Tyler.
Glatzel Tino wrote:
>hello list,
>
>
>my system is a Debian GNU Linux Sarge. The kernelversion is 2.6.10 without
>modulsupport.
>The partion id is fd.
>In the first step, the complete system is installed on /dev/hda3.
>In the second step, i have created a raid 1 device:
>mdadm --create /dev/md0 --level 1 --raid-device=2 /dev/hda1 /dev/hdc1
>mkfs -t ext3 /dev/md0
>mount /dev/md0 /mnt
>cp -pr /boot /mnt
>umount /mnt
>
>I want to mount /dev/md0 in /boot
>change in the /etc/fstab
>/dev/md0 /boot ext3 defaults 0 2
>
>
>
>after a reboot, i see the mounted devices:
>
>/dev/hda3 on / type ext3 (rw,errors=remount-ro)
>/dev/md0 on /boot type ext3 (rw)
>
>so, i think i will never need the files in the old /boot directory.
>
>umount /boot
>cd /boot
>ls
>System.map-2.6.8-1-386
>config-2.6.8-1-386 vmlinuz-2.6.10
>grub vmlinuz-2.6.10-raid-grsec
>initrd.img-2.6.8-1-386 vmlinuz-2.6.10-raid-grsec-hotplug
>lost+found vmlinuz-2.6.8-1-386
>System.map-2.6.10
>
>
>
>rm -r *
>cd ..
>mount /boot
>ls /boot
>System.map-2.6.8-1-386
>config-2.6.8-1-386 vmlinuz-2.6.10
>grub vmlinuz-2.6.10-raid-grsec
>initrd.img-2.6.8-1-386 vmlinuz-2.6.10-raid-grsec-hotplug
>lost+found vmlinuz-2.6.8-1-386
>System.map-2.6.10
>
>
>after a reboot, i see the following message from Grub:
>
>GRUB Loading Stage1.5
>
>GRUB loading, please wait ...
>Error 15
>
>
>Ok, i think GRUB can`t access to /dev/md0
>what can i do?
>
>
>Tino
>-
>To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-04 15:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-04 15:29 raid 1 with static kernel Glatzel Tino
2005-05-04 15:56 ` Tyler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).