LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2016, 10:02 PM   #1
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 137

Rep: Reputation: 20
Software RAID grub boot error on new xubuntu installation


Hi, I was reloading my linux box from scratch recently and decided to try software RAID 0 since I have two identical 75GB drives and figured this would provide a nice boost in read/write speeds. So, during the install I noticed an option to do software RAID and choose that route. I told the software to RAID 0 my two drives. Everything went fine with the install but as soon as I rebooted I'm getting this error.

error: failure reading sector 0xb30 from 'fd0'
error: disk 'mduuid/LONG#,1' not found.

I tried messing with some of the hard drive settings in BIOS but I can't get past this error. Any ideas how I might be able to fix this in grub or do I have to backout of software RAID 0?

I recall the Guided Partitioning did the following after setting up my software RAID0.
RAID 0 159 GB Auto partition suggestion>
#1 Primary 159.4 GB ext4
#5 logical 534.6 MB swap
SCSI1 80G K RAID
and
SCSI2 80G K RAID

I was really excited with the idea of doing software RAID so I'm hoping to get this fixed without reloading and going back to non-RAID. Thanks for any suggestions or ideas.

I'm hoping this might complete what's need to possibly fix my issue.
Exact Error>
error: failure reading sector 0xb30 from 'fd0'
error: disk 'mduuid/bbcb78f0:0c354275:884cd2c7:3039c061' not found.
Entering rescue mode...
grub rescue> _

Also I have a floppy since I'm pretty sure fd0 is the floppy so not sure what I get that error?

This is the specific drive or UUID I get the error on and it's my RAID0 id per mdadm -D /dev/md0 output.

UUID : bbcb78f0:0c354275:884cd2c7:3039c061

Here's some disk output I've gathered.
Code:
root@sysresccd /root % fdisk -l
Disk /dev/loop0: 353.1 MiB, 370208768 bytes, 723064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 74.5 GiB, 80026361856 bytes, 156301488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0006b327

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdb1  *     2048 156301311 156299264 74.5G fd Linux raid autodetect


Disk /dev/sda: 74.5 GiB, 80026361856 bytes, 156301488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0f4216be

Device     Boot Start       End   Sectors  Size Id Type
/dev/sda1        2048 156301311 156299264 74.5G fd Linux raid autodetect


Disk /dev/md0: 149 GiB, 159916228608 bytes, 312336384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disklabel type: dos
Disk identifier: 0x992ec57a

Device     Boot     Start       End   Sectors   Size Id Type
/dev/md0p1             63 311291504 311291442 148.4G 83 Linux
/dev/md0p2      311291505 312335729   1044225 509.9M  5 Extended
/dev/md0p5      311291568 312335729   1044162 509.9M 82 Linux swap / Solaris

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 5 does not start on physical sector boundary.
root@sysresccd /root % mdadm -D /dev/md0
/dev/md0:
        Version : 1.2
  Creation Time : Sun Oct 23 03:39:13 2016
     Raid Level : raid0
     Array Size : 156168192 (148.93 GiB 159.92 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

    Update Time : Sun Oct 23 03:39:13 2016
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 512K

           Name : dubstud:0
           UUID : bbcb78f0:0c354275:884cd2c7:3039c061
         Events : 0

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1
root@sysresccd /root % blkid
/dev/loop0: TYPE="squashfs"
/dev/sr0: UUID="2016-10-02-07-25-26-00" LABEL="sysrcd-4.8.3" TYPE="iso9660"
/dev/sda1: UUID="bbcb78f0-0c35-4275-884c-d2c73039c061" UUID_SUB="3112c83b-2bad-54ba-d70e-df6974ee8a1b" LABEL="dubstud:0" TYPE="linux_raid_member" 

PARTUUID=                             "0f4216be-01"
/dev/md0p1: UUID="7962bf1a-43e9-4f26-988b-06646a988405" TYPE="ext4" PARTUUID="992ec57a-01"
/dev/md0p5: UUID="5e84b8ad-bb71-4fd1-b572-32002b7f367d" TYPE="swap" PARTUUID="992ec57a-05"
/dev/sdb1: UUID="bbcb78f0-0c35-4275-884c-d2c73039c061" UUID_SUB="2e32a38c-7033-9740-cfd9-3e9c3df0a9da" LABEL="dubstud:0" TYPE="linux_raid_member" 

PARTUUID=                             "0006b327-01"
/dev/md0: PTUUID="992ec57a" PTTYPE="dos"
And
Code:
root@sysresccd /root % blkid
/dev/loop0: TYPE="squashfs"
/dev/sr0: UUID="2016-10-02-07-25-26-00" LABEL="sysrcd-4.8.3" TYPE="iso9660"
/dev/sda1: UUID="bbcb78f0-0c35-4275-884c-d2c73039c061" UUID_SUB="3112c83b-2bad-54ba-d70e-df6974ee8a1b" LABEL="dubstud:0" TYPE="linux_raid_member" 

PARTUUID=                             "0f4216be-01"
/dev/md0p1: UUID="7962bf1a-43e9-4f26-988b-06646a988405" TYPE="ext4" PARTUUID="992ec57a-01"
/dev/md0p5: UUID="5e84b8ad-bb71-4fd1-b572-32002b7f367d" TYPE="swap" PARTUUID="992ec57a-05"
/dev/sdb1: UUID="bbcb78f0-0c35-4275-884c-d2c73039c061" UUID_SUB="2e32a38c-7033-9740-cfd9-3e9c3df0a9da" LABEL="dubstud:0" TYPE="linux_raid_member" 

PARTUUID=                             "0006b327-01"
/dev/md0: PTUUID="992ec57a" PTTYPE="dos"
After searching on >
error reading sector 0xb30 from 'fd0'
and
/dev/sda does not have any corresponding BIOS drive

I came across a couple post. I'm currently booted up with a rescue CD and trying to see how I can reinstall grub. It seems like it should be on /dev/sda1 not /dev/sdb2 as it shows above.

I was thinking if I could somehow get to /etc/fstab I could remove or modify the fd0 parameter.

I was trying to follow this post but running into issues.
http://idolinux.blogspot.com/2009/07...er-on-md0.html

I can't seem to get the grub to load and my linux skills are way rusty right now. Appreciate any help!
 
Old 11-19-2016, 08:46 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
The partitioning is not very reasonable.

/boot
swap
/(root)
/home
/var
/tmp

You should not use RAID 0, since one drive is defective, you loose your data.
 
Old 11-19-2016, 09:17 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Code:
error: failure reading sector 0xb30 from 'fd0'
It sounds like you installed Grub to the floppy drive? If this was not your intention you need to use proper command to install Grub.

Edit: Check out this bug: https://bugzilla.redhat.com/show_bug.cgi?id=753643

Last edited by Emerson; 11-19-2016 at 09:19 AM.
 
Old 11-19-2016, 03:21 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I would say the floppy message is a red herring - the following message is likely the issue. Let's see the /boot/grub/grub.cfg (I think that's what Ubuntu name it).
 
Old 11-20-2016, 08:14 PM   #5
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 137

Original Poster
Rep: Reputation: 20
Thanks for the replies. However, I'm going to try a reload tonight with floppy drive disabled.

Thought the boot-repair-disk utility fixed it but turns out I still have "issues".

boot-repair-utility output stating it fixed my GRUB after purging and reloading.
http://paste.ubuntu.com/23504650/
 
Old 12-01-2016, 12:01 AM   #6
NuxIT
Member
 
Registered: Jul 2003
Location: Westminser, CO
Distribution: xUbuntu
Posts: 137

Original Poster
Rep: Reputation: 20
FYI, I ended up trying the Software RAID 0 setup again with the floppy disabled in BIOS. This time it gave me a different error and GRUB couldn't find the OS in the RAID partition. I tried running boot-repair-disk again and it purged GRUB and re-installed and said repaired successfully but it still didn't boot right and gave some GRUB mda error or something. Either way, I went back in with my recovery OS boot disk and created my partitions from scratch for / , /home & swap. Then, I booted up with X-ubuntu mini-CD and then I finally got it to load normally. Kind of a hassle for such a simple single OS boot system!

This is my old trusty PIII 600 with minimum RAM and a CD-ROM. So, I was pretty limited on my install media since I can't even boot from USB with this system. Hard to find ISO's that are under CD-ROM size nowadays! Either way, I'm glad to have my linux box back up and ready to start customizing!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding an old software-RAID array to a software-RAID installation.. Boot problems GarethM Linux - Hardware 2 05-05-2008 03:16 PM
Sofware RAID 1 + Fedora Core 3 + Boot Error L1 + GRUB 21 ERROR najeebsyed2 Linux - Hardware 0 10-25-2007 01:20 PM
Boot Windows XP software raid with Grub jw230 Linux - Hardware 1 10-16-2006 08:31 AM
Having grub boot a windows software raid volume. byteframe Linux - Hardware 1 07-10-2006 11:51 AM
Replacing a drive in /boot, software RAID-1 + GRUB tobiasly Linux - Hardware 1 12-21-2005 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration