Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-04-2011, 10:52 PM   #1
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 223

Rep: Reputation: 20
Custom Bootable USB Flash Drive: Boot Mounting Problem

I'm making a custom build Linux From Scratch, and I'm putting it in a USB Flash Drive. I'm planning to have my Linux build to be minimal.
I got all the programs I need in order for it to run properly. However, the configuration doesn't seem to be working. The kernel works just fine, but when it comes to the mounting, it screws up. What I see is that the kernel mounts my root file system as read only, causing error.

FYI, This is what I have:
  • A USB 2.0 Flash Drive (obviously)
  • ext2 partitioned boot
  • ext3 root partition
  • Linux Kernel 2.6.37 with no initrd or swap support
  • Grub 0.97
  • GCC 4.2.4
  • Binutils 2.18
  • GlibC 2.7
  • other standard toolchain programs

Don't worry about the 'no initrd or swap' thing, if you are thinking about those, this is none of my concern for the time being because those are not the problem. The problem seems to be around the mounting process.

I'd like to see what you think. Any, even the tiny bits of, help or opinion will be appreciated!
Old 10-05-2011, 09:27 AM   #2
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Linux Mint
Posts: 1,678

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Looking at my grub.conf file, I see that the kernel is explicitly mounted ro:
title Fedora (3.1.0-0.rc8.git0.0.fc16.x86_64)
	root (hd0,7)
	kernel /boot/vmlinuz-3.1.0-0.rc8.git0.0.fc16.x86_64 ro root=LABEL=F16 rootfstype=ext4 plymouth.disable=0 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us selinux=0
	initrd /boot/initramfs-3.1.0-0.rc8.git0.0.fc16.x86_64.img
Perhaps mounting it rw at this point will do what you need. There must be a reason why it's mounted ro at this stage, I just don't know what it is.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bootable USB Flash Drive saurabhchokshi Linux - Newbie 1 07-15-2009 08:42 PM
may install from cdrom to USB FLASH DRIVE(to get it a USB stick bootable) the ubuntu lse123 Linux - Newbie 5 01-02-2009 05:56 PM
Problem while mounting the USB flash drive Nishant Desai Linux - Hardware 7 09-05-2006 12:31 AM
Problem mounting usb flash drive with kernel dcdbutler Slackware 16 09-12-2005 08:48 PM
USB flash drive mounting problem guillaume31 Linux - Hardware 4 05-23-2005 12:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 AM.

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