-
mounting md device
Hello,
Recently, I installed Windows on top of my FC4 installation and I think I screwed up. I booted into Knoppix and wanted to reinstall grub by issuing the grub-install command but it returned with an error saying that it could not find /boot. The reason I think that I screwed up is because when I was installing Windows, I'm pretty sure that it removed my /boot partition. Whether that was something I did by accident or that Windows required, not sure. However, this leaves me with two options to fix my machine so I could boot back into Linux.
1. How do I recreate the /boot partition and install grub?
2. I will have to backup my old data and reinstall linux.
The problem with option 2 is that I was using md raid0 setup and knoppix is trying to mount each drive seperatly. e.g. /dev/hda1 /dev/hda2... etc. Below is the copy of my backed up fstab file used in my original system:
Code:
/dev/md0 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/md1 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda4 /mnt/volume1 ext2 defaults 0 0
/dev/hdd3 /mnt/volume2 ext2 defaults 0 0
/dev/sda1 /mnt/volume3 auto defaults,users 0 0
The /dev/md0 partition is composed of /dev/hda1 and /dev/hdd1, is there a way that I could verify this? The problem I am having is that I am pretty clueless about how I can access the / mount point. I tried to do this:
Code:
mdadm -A /dev/md0 /dev/hda1 /dev/hdd1
then
Code:
mount -t ext3 /dev/md0 /mnt/system
The mount complained about a bad system type. What am I missing? Let me know if I can provide any additional information. I have a backup of my /etc/ directory and I can boot with knoppix to gather anything else.
Thanks,
Matt
Similar Threads
-
By DFlat in forum MS Windows & New to Linux
Replies: 2
Last Post: 10-06-2006, 02:34 AM
-
By testabcd in forum Hardware & Booting
Replies: 0
Last Post: 04-24-2006, 09:52 AM
-
By jam3z in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 02-27-2004, 01:52 PM
-
By YuXeL in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 12-08-2003, 01:48 AM
-
By Sadara in forum General Support
Replies: 11
Last Post: 03-16-2003, 07:12 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC
$49.99

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$269.10

Windows 11 Pro Install/Recovery/Repair USB Flash Drive
$35.00

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$8.47

Lot 5/10pcs USB Flash Drive Memory Stick 1MB-64GB Pendrive Thumb Drive 8GB 32GB
$282.00

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s
$39.80

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service
$39.99

SAMSUNG FIT PLUS 128GB USB 3.1 Flash Drive - fully working & authentic
$24.95