Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So as the title implies, I need to be able to boot off a write-protected hard drive. Whenever the hard drive is set to write-protected mode (after installation of server and other file updates), we get mount errors and an unusable system.

I'm no Linux Guru and Google hasn't provided the answers as of this evening. If anyone has some insight/direction into what needs to be done to make Ubuntu Server 10.04 run without the need to write to the hard drive, please help!

Here is what gets displayed on the screen (I had to transcribe this from another screen so bear with me on any typos or abbreviations). In this case, we are using an USB stick that has a write-protect switch on it.

fsck from util-linux-ng 2.17.2
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
e2fsck 1.41.11 (14-Mar-2010)
fsck.ext: Read-only file system while trying to open /dev/sdb1
Disk write-protected: use the -n option to do a read-only
check of the device.
/dev/mapper/f15pad-root: clean, 47169/95040 files, 179595/379904 blocks
mountall: fsck /boot [424] terminated with status 0
mountall: Unrecoverable fsck error: /boot
Serious errors were found while checking the disk drive for /boot
Press I to ignore, S to skip mounting or M for manual recovery
[13.296604] end_request: I/O error, dev sdb, sector 817536
[...] Buffer I/O error on device dm-2, logical block 39424
[...] end_request: I/O error, dev sdb, sector 1550720
[...] Buffer I/O error on device dm-2, logical block 131072
[...] JBD2: I/O error detected when updating journal superblock for dm-2-8
[...] end_request: I/O error, dev sdb, sector 1550728
[...] Aborting journal on device dm-2-8
[...] end_request: I/O error, dev sdb, sector 1550728
[...] Buffer I/O error on device dm-2, logical block 131072
[...] JBD2: I/O error detected when updating journal superblock for dm-2-8
[...] EXT4-fs error (device dm-2): ext4_hournal_start_sb: Detected aborted journal
[...] EXT4-fs (dm-2): Remounting filesystem read-only
[...] EXT4-fs (dm-2): ext4_da_writepages: jbd2_start: 1023 pages, ino 47171; err -30
share|improve this question
    
do you get Grub? –  Null pointer Feb 14 at 1:30
    
Updated original post with errors we see...having difficulty formatting it. –  Matt Feb 14 at 1:58

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.