LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-09-2007, 12:39 PM   #31
fire-tick
LQ Newbie
 
Registered: May 2007
Distribution: openSUSE, Manjaro, Fedora, Debian (and in theory Arch)
Posts: 16

Rep: Reputation: 1

Agrouf,

I haven't tried booting in quiet mode yet -- I SuSE's GRUB to boot Elive and Fedora. What do I add to menu.lst to tell it to boot Fedora in quiet mode?
 
Old 07-09-2007, 02:23 PM   #32
Sanoj21
LQ Newbie
 
Registered: Jul 2007
Distribution: still under installation Fedora 7
Posts: 4

Rep: Reputation: 0
the output of my pvdisplay:

Code:
  --- Physical volume ---
  PV Name               /dev/mapper/via_cghfdbhccbp4
  VG Name               VolGroup00
  PV Size               36.27 GB / not usable 22.47 MB
  Allocatable           yes 
  PE Size (KByte)       32768
  Total PE              1160
  Free PE               1
  Allocated PE          1159
  PV UUID               82QhnT-97OD-0WTL-Bf77-Jlu1-jg6z-TuoE66
 
Old 07-09-2007, 06:13 PM   #33
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Quote:
Originally Posted by fire-tick
Agrouf,

I haven't tried booting in quiet mode yet -- I SuSE's GRUB to boot Elive and Fedora. What do I add to menu.lst to tell it to boot Fedora in quiet mode?
You have to add quiet at the end of the kernel line.
example :
Code:
kernel /boot/vmlinuz root=LABEL=ROOT quiet
Regards
 
Old 07-09-2007, 06:41 PM   #34
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Quote:
Originally Posted by Sanoj21
the output of my pvdisplay:

Code:
  --- Physical volume ---
  PV Name               /dev/mapper/via_cghfdbhccbp4
  VG Name               VolGroup00
  PV Size               36.27 GB / not usable 22.47 MB
  Allocatable           yes 
  PE Size (KByte)       32768
  Total PE              1160
  Free PE               1
  Allocated PE          1159
  PV UUID               82QhnT-97OD-0WTL-Bf77-Jlu1-jg6z-TuoE66
Is this software or hardware raid?
Does /proc/mdstats exist?
What is the output of dmraid -s?
What is the output of
Code:
echo dm list | nash
?
 
Old 07-10-2007, 10:27 AM   #35
fire-tick
LQ Newbie
 
Registered: May 2007
Distribution: openSUSE, Manjaro, Fedora, Debian (and in theory Arch)
Posts: 16

Rep: Reputation: 1
Agrouf,

I booted in quiet mode, and I copied down the entire boot output:

Code:
root (hd1,4)
  Filesystemtype is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 root=/dev/hdb5 quiet
  [Linux-bxImage, setup=0x1e00, size=0x1c9dd4]
initrd /boot/initrd-2.6.21-1.3195.fc7.img
  [Linux-initrd @ 0x1fd3100, 0x2be794 bytes]

Uncompressing Linux... Ok, booting kernel.
Red Hat nash version 6.0.9 starting
usb 2-2: device descriptor read/all, error -71
mount: could not find filesystem 'dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
I highlighted the 5 in the initrd filename as a reminder -- that's the new one I created.

What can you make of this output?
 
Old 07-10-2007, 11:32 AM   #36
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Quote:
Originally Posted by fire-tick
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 root=/dev/hdb5 quiet
try /dev/sdb5 in menu.lst :
Code:
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 root=/dev/sdb5 quiet
 
Old 07-10-2007, 02:29 PM   #37
Sanoj21
LQ Newbie
 
Registered: Jul 2007
Distribution: still under installation Fedora 7
Posts: 4

Rep: Reputation: 0
Is this software or hardware raid?

Code:
It's hardware raid. These are my BIOS settings.

Serial ATA RAID BIOS Setting Utility V2.01 
Serial_Ch0 Master: Array 0 - Raid 1 
Serial_Ch1 Master: Array 0 - Raid 1 
VIA PT800 North Controller, Rev C2 
VIA PT8237 South Controller, Rev A2
Does /proc/mdstats exists?

Code:
No but proc/mdstat exists, I suppose you ment this.

Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
unused devices: <none>
What is the output of dmraid -s

Code:
*** Active Set
name   : via_cghfdbhccb
size   : 240121720
stride : 8
type   : mirror
status : ok
subsets: 0
devs   : 2
spares : 0
What is the ouput of echo dm list | nash

Code:
(running in test mode).
Red Hat nash version 6.0.9 starting
rmparts sdb
rmparts sda
create via_cghfdbhccb
create via_cghfdbhccbp4
create VolGroup00-LogVol01
part VolGroup00-LogVol01
create VolGroup00-LogVol00
part VolGroup00-LogVol00
create via_cghfdbhccbp3
part via_cghfdbhccbp3
create via_cghfdbhccbp5
create via_cghfdbhccbp2
create via_cghfdbhccbp1
 
Old 07-11-2007, 06:23 PM   #38
fire-tick
LQ Newbie
 
Registered: May 2007
Distribution: openSUSE, Manjaro, Fedora, Debian (and in theory Arch)
Posts: 16

Rep: Reputation: 1
Success!!

I changed /dev/hdb5 to /dev/sdb5, and Fedora booted up just fine [I'm writing this from Fedora] -- Thanks Agrouf for pointing that out!! I think I had tried that earlier, before I created the new initrd file, so I forgot all about that one...

I'm glad I stuck with it a bit longer. I knew Mandriva worked, but I really wanted to give Fedora a try. I liked what I saw with the live CD.
 
Old 07-12-2007, 11:21 AM   #39
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Congrats fire-tick, I'm glad for you. Have a happy fedora experience.

Sanoj21,

I suspect /dev/mapper/via_cghfdbhccbp4 is not generated and therefore vgscan doesn't find your pv.
I suggest adding the line "find /dev/mapper" after dm create and just before the vgscan in init
You can also try regenerating devs with mkblkdevs before vgscan.

Extract your initrd with the usual gunzip|cpio to /tmp/initrd, edit init and then you can regenerate initrd with
Code:
rm /tmp/initrd/initrd*
findall() { echo nash-find  | /sbin/nash --force --quiet; }
(cd /tmp/initrd; findall . | cpio -H newc --quiet -o) >| /boot/tmp.img
gzip -9 </boot/tmp.img >/boot/initrd.img
rm /boot/tmp.img
Adapt your menu.lst to use initrd.img and please tell me if /dev/mapper/via_cghfdbhccbp4 exist.
(boot in verbose mode to see the result of find)

You probably need some raid drivers from via?
check "lsmod | grep via" and "lsmod | grep raid"

Last edited by Agrouf; 07-12-2007 at 11:31 AM.
 
Old 07-18-2007, 12:47 AM   #40
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 80

Rep: Reputation: 18
Had similar problem. Try checking and/or editing the /etc/ftab file. Also the grub configuration file. What might have happened is that the attempt to run Zen from the CD has altered the partion info. Did it install a swap partion or file?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic -- not syncing: attempted to kill idle task oraclerg Linux - Distributions 16 11-25-2018 01:32 PM
Kernel panic - not syncing: Attempted to kill init! potsilui Linux - Kernel 28 05-09-2012 11:46 AM
Explained: "kernel panic - not syncing - attempted to kill init" sundialsvcs Linux - Software 36 04-24-2010 08:58 AM
Kernel Panic - Not Syncing: Attempted To Kill Init! tegralens Linux - Software 13 06-23-2008 03:15 PM
Updated = Kernel panic - not syncing: Attempted to kill init! potsilui Fedora 4 04-18-2005 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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