Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am following http://grub.enbug.org/Grub2LiveCdInstallGuide and I am using software RAID 0. I am using Ubuntu 10.10 LiveCD and is trying to restore grub2 after installing Windows 7 in another partition.

Here is the console's outputs:

ubuntu@ubuntu:~$ sudo fdisk -l

Unable to seek on /dev/sad

ubuntu@ubuntu:~$ sudo dmraid -r /dev/sdb: nvidia, "nvidia_acajefec", stripe, ok, 488397166 sectors, data@ 0 /dev/sda: nvidia, "nvidia_acajefec", stripe, ok, 488397166 sectors, data@ 0

So do you have an idea for how to make fdisk see my RAID array? How to make fdisk detect the Software RAID like dmraid?

share|improve this question
add comment

1 Answer

fdisk doesn't see RAID containers, fdisk sees partitions. Perhaps you meant to use fdisk on one of the device mapper devices instead.

share|improve this answer
    
Is that so? I don't know the ways around in Linux at all, so how can I tell fdisk to do what you've said instead? –  Karl Dec 26 '10 at 6:00
    
Point it to one of the /dev/dm-* device nodes instead. Or maybe /dev/md*. I don't do much work with software RAID. –  Ignacio Vazquez-Abrams Dec 26 '10 at 7:05
    
I don't understand. There is no such function in fdisk. –  Karl Dec 26 '10 at 12:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.