LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-04-2011, 09:52 PM   #1
TKH
Member
 
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, 08:27 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Looking at my grub.conf file, I see that the kernel is explicitly mounted ro:
Code:
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.
 
  


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
Bootable USB Flash Drive saurabhchokshi Linux - Newbie 1 07-15-2009 07: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 04:56 PM
Problem while mounting the USB flash drive Nishant Desai Linux - Hardware 7 09-04-2006 11:31 PM
Problem mounting usb flash drive with 2.6.12.2 kernel dcdbutler Slackware 16 09-12-2005 07:48 PM
USB flash drive mounting problem guillaume31 Linux - Hardware 4 05-23-2005 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:24 AM.

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