LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 04-07-2010, 07:04 PM   #16
tthtlc
LQ Newbie
 
Registered: Aug 2007
Posts: 18

Rep: Reputation: 2

Quote:
Originally Posted by mukulm View Post
I was having the same problem after installing Fedora 9 as a dual boot with Ubuntu. The problem was solved when I entered the root in the traditional format (i.e. non-UUID way). So instead of:

kernel /boot/vmlinuz root=UUID=...

I entered:

kernel /boot/vmlinuz root=/dev/sda3

Don't know the reason why this worked, but it solved the problem for me!

-Mukul
Sorry, I know my reply is late, but because Google directed me here, it means this page is still highly searched and retrieved.

The reason for root=/dev/sda3 is because of this:

vmlinuz is the kernel image, where all the drivers and kernel modules are first unpacked and executed. This stage is also when each of the hardware are recognized, among them the harddisk. So perhaps /dev/sda, /dev/sdb or /dev/hda, /dev/hdb (older kernel) will be recognized, and and for volume group it will be something like /dev/volgroup00/logvol00.

Next, at the end of the vmlinuz operation, is executing the "init" function (taken from 2.6.34 linux kernel source code:

start_kernel()'s long list of initialization:

671 thread_info_cache_init();
672 cred_init();
673 fork_init(totalram_pages);
674 proc_caches_init();
675 buffer_init();
676 key_init();
677 security_init();
678 vfs_caches_init(totalram_pages);
679 signals_init();
680 /* rootfs populating might need page-writeback */
681 page_writeback_init();
682 #ifdef CONFIG_PROC_FS
683 proc_root_init();
684 #endif
685 cgroup_init();
686 cpuset_init();
687 taskstats_init_early();
688 delayacct_init();
689
690 check_bugs();
691
692 acpi_early_init(); /* before LAPIC and SMP init */
693 sfi_init_late();
694
695 ftrace_init();
698 rest_init();
699 }
700

And rest_init() calls:

424 static noinline void __init_refok rest_init(void)
425 __releases(kernel_lock)
426 {
430 kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND);


and kernel_init() calls:

853
854 static int __init kernel_init(void * unused)
855 {
856 lock_kernel();

913 init_post();
914 return 0;

and followed by init_post():

814 static noinline int init_post(void)
815 __releases(kernel_lock)
816 {

845 run_init_process("/sbin/init");
846 run_init_process("/etc/init");
847 run_init_process("/bin/init");
848 run_init_process("/bin/sh");
849
852 }

and this is where and when the files at "/" is read, so the root filesystem must be mounted correctly at this point. And this depends which partition u put the OS files.
 
Old 04-07-2010, 08:35 PM   #17
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
tthtlc

Please DO NOT revive very old threads
this thread was started on " 10-31-06, 05:54 PM " -- 2006 --
 
Old 09-02-2016, 12:42 AM   #18
zhaoshengwei
LQ Newbie
 
Registered: Sep 2016
Location: China
Distribution: centos,redhat,ubuntu
Posts: 1

Rep: Reputation: Disabled
Smile I also have same problem

Hello,I also have same problem.
In grub.conf,I use root=/dev/hda2 and the problem exists.
Then I use 'e2label /dev/hda2 /myroot' and modify my grub.conf(root=/myroot).This problem is solved.But I don't know why.
Do you konw the answer?
Thanks!
 
  


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
unclean shutdown causes "Couldn't find matching filesystem: label=" error irnerdette Red Hat 3 06-02-2006 01:44 PM
FC5t3 error: mount: could not find filesystem '/dev/root' pathall Fedora 1 03-10-2006 10:39 PM
RH9 "remounting root filesystem in read-write mode" ChrisHax Linux - Newbie 3 07-23-2004 09:54 PM
"unable to find device node for /dev/x in /dev!" during install zombiedeth *BSD 0 02-02-2004 02:38 AM
dump + restore to backup linux ; "Couldn't find matching filesystem: LABEL=/" on boot markus1982 Linux - General 4 09-21-2002 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 11: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