View previous topic :: View next topic |
Author |
Message |
miguipda Member
Joined: 14 Jul 2011 Posts: 93
|
Posted: Sun May 27, 2012 2:41 pm Post subject: SMS installation almost succeeded but stopped by a panic... |
|
|
Dear gerasimos_h,
as I previously tried to install SMS on LVM partitions but never succeed it I prefer we stop wasting time.
http://sms.it-ccs.com/forum/viewtopic.php?t=689
Then I just made a classic install following the 2.2.3 Wiki explanations.
I made it like this :
1) installed Native 1.6.5 Install ISO on an USB Key
2) created the needed partitions on the external HDD that will receive SMS.
Composed like this :
300 Mb /dev/sda1 for /boot
3 Gb /dev/sda2 for SWAP
10Gb /dev/sda3 for / (SMS)
the still available space as /mnt/data
3) by chance both connected to the future server (in place of doing it on my working computer) the USB Key has been recongnized as /dev/sdb and the future SMS Server could then be installed on the external HDD that has been recognized as /dev/sda
Then the installation has been succeed. It could start and show the red display to boot SMS then it display the little SMS dog avatar and start to display line by line what it is busy to do.
4) but it stopped like this :
...
...autorun DONE
VFS: Cannot open root device "803" or unknown-block (8,3)
Please append a correct "rootfs' boot option; because the available partitions
Kernel panic - not syncing: VFS: Unable to mount rootfs on unknown-block (8,3)
Pid: 1, comm: swapper/0 Not tainted 3.2.14-smp #2
Call Trace :
panic ... (explanations not really understandable)
Then what and how must I solve this to let it continue to boot perfectly ?
Sincerely thanks and have a nice day,
Miguipda _________________ Miguipda |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sun May 27, 2012 4:21 pm Post subject: |
|
|
Did you boot with 2 external HDD? If so, then boot with SMS only...
The error indicate that can't find root partition, probably due to wrong device in lilo.conf.
Do you have any other media devices like compact flash or anything else that could take /dev/sda?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miguipda Member
Joined: 14 Jul 2011 Posts: 93
|
Posted: Sun May 27, 2012 4:41 pm Post subject: |
|
|
Dear gerasimos_h,
No, of course I removed the SMS installation USB key before booting from the only one external HDD where I installed SMS (foolowing the 2.2.3 wiki explanation). This why I did not understood why it does not find the root.
As said I made it like this :
300 Mb /dev/sda1 for /boot
3 Gb /dev/sda2 for SWAP
10Gb /dev/sda3 for / (SMS)
the still available space as /mnt/data
Then how to solve it ?
Have a nice day,
Miguipda _________________ Miguipda |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sun May 27, 2012 5:00 pm Post subject: |
|
|
Another question...
Are you booting with hugesmp or a generic kernel with an initrd.gz?
Try booting with a hugesmp kernel if didn't already.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miguipda Member
Joined: 14 Jul 2011 Posts: 93
|
Posted: Mon May 28, 2012 8:34 am Post subject: |
|
|
Hi,
when I followed the wiki 2.2.3 Setup I used the proposed hugesmp Default SMS Kernel because I was not sure to use another one. Then to be sure it works I let it use the Default hugesmp.
Now to know if it use an initrd.gz please let me know how to check it and I could answer. I prefer ask you the way to perfectly verify this point to be sure to make the good answer you need.
Sincerely thanks for your help and have a nice day,
Miguipda _________________ Miguipda |
|
Back to top |
|
miguipda Member
Joined: 14 Jul 2011 Posts: 93
|
Posted: Mon May 28, 2012 2:08 pm Post subject: |
|
|
Just one point that could help you to guide me.
As explained in the "Choose Your SMS Kernel" you need to know I formatted the /dev/sda1 (/boot) and /dev/sda3 (/) in ext4 because I though it could be more efficient for this server.
And as I selected the default hugesmp kernel it is possible the problem comes from this situation. Maybe must I just use the setup menu to select CONFIGURE (Reconfigure your linux system) to just change the kernel ?
With pleasure to read your solution.
Have a nice day,
Miguipda _________________ Miguipda |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon May 28, 2012 4:39 pm Post subject: |
|
|
Do you have a SMS.LiveCD available to boot from usb?
Once it boot, login from another machine, as it will have network and all servers enabled, and check which /dev/sd? it has.
To auto boot from usb just remove the "boot from hard disk" entry, or specify default option to SMS...
P.S. I'm trying to think of a way to auto scan disk and boot, even with isolinux or syslinux, to the first root partition it finds.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miguipda Member
Joined: 14 Jul 2011 Posts: 93
|
Posted: Tue May 29, 2012 10:21 am Post subject: |
|
|
Dear gerasimos_h,
> Do you have a SMS.LiveCD available to boot from usb?
> Once it boot, login from another machine, as it will have network and all servers enabled, and check which /dev/sd? it has.
As my mini fanless home server does not have any internal HDD I well connected and booted from the USB Live Key I made with the SMS.LiveCD.ISO.
It booted perfectly and I was able to see it use /dev/sda1 on the same port I previously connected my external SMS HDD where the SMS Native was installed.
> To auto boot from usb just remove the "boot from hard disk" entry, or specify default option to SMS...
I did it and it booted on sms (DEFAULT I changed in the sms.cfg).
> P.S. I'm trying to think of a way to auto scan disk and boot, even with isolinux or syslinux, to the first root partition it finds.
Great for all SMS users but how can I solve my current problem ?
When I now perfectly boot with the USB Live ISO I remembered it was the same problem I had when I first discovered SMS. I remember now I also tried to install it with the native. But as I do not have any CD/DVD reader on this small fanless server I also had the same installation problem. Then I just installed the live iso on my external HDD as I made it now on the USB Key to be able to get it work. It was maybe why we can not made the upgrade script we tried to use.
But now I decided to perfectly install the native as described on the 2.2.3 wiki. It appears that installing it on the /dev/sda1 (because there is just this external HDD connected to my server) it does want to work.
Then now SMS 1.6.5 Native as been installed (with the three explained partitions /dev/sda1 as boot, /dev/sda2 as swap and /dev/sda3 as /) I will wait you solution to be able it can boot without the described kernel panic.
I really appreciate your attention to this problem and sincerely thank you.
Have a nice day,
Miguipda _________________ Miguipda |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue May 29, 2012 4:47 pm Post subject: |
|
|
Can you post/attach ?
1. /etc/lilo.conf
2. output of 'ls -l /dev/sda1/' to (/boot) see kernels
3. output of 'fdisk -l /dev/sda'
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miguipda Member
Joined: 14 Jul 2011 Posts: 93
|
Posted: Tue May 29, 2012 5:04 pm Post subject: |
|
|
Hi,
then as I can not boot until getting a prompt on my external HDD (where Native SMS has been installed with /dev/sda1, /dev/sda2 and /dev/sda3) I can not give you this information.
I can just give you this coming from a boot with the Live USB Key on which I can boot successfully. Is it this last information you need ?
Have a nice day,
Miguipda _________________ Miguipda |
|
Back to top |
|
miguipda Member
Joined: 14 Jul 2011 Posts: 93
|
Posted: Tue May 29, 2012 5:26 pm Post subject: |
|
|
Hi,
Can you post/attach ?
> 1. /etc/lilo.conf
the answer is easy. As explained I can not boot with the installed Native SMS on the external USB HDD. But I checked what is the content of the asked /etc/lilo.conf.
There is no lilo.conf on the Native installed SMS on the external HDD and
There is no /etc/lilo.conf on the Live installed SMS on the USB Key. There there is only a lilo.con-example (I did not checked)
> 2. output of 'ls -l /dev/sda1/' to (/boot) see kernels
> 3. output of 'fdisk -l /dev/sda'
Simple like this : when booted on the Live SMS installed on the USB Key the answer for those both commands are :
output ... Command Not Found
Then how could I still help you to find a solution for this ?
Sincerely thanks and have a nice day,
Miguipda _________________ Miguipda |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue May 29, 2012 5:51 pm Post subject: |
|
|
if you don't have /etc/lilo.conf in your Native installation, that's where the problem is...
Boot from SMS.LiveCD and mount partitions to a directory like /mnt/tmp/
Code: | mount /dev/sda3 /mnt/tmp
mount /dev/sda1 /mnt/tmp/boot/ |
If you don't have a /etc/lilo.conf add one with
Code: | # LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
LBA32
boot = /dev/sda
prompt
timeout = 20
compact
change-rules
reset
vga = 791
image = /boot/vmlinuz
root = /dev/sda3
label = SMS
read-only |
and do
Code: | lilo -C /mnt/tmp/etc/lilo.conf |
If you still have problems, and there is a /etc/lilo.conf post it here, and /etc/fstab also..
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miguipda Member
Joined: 14 Jul 2011 Posts: 93
|
Posted: Tue May 29, 2012 9:06 pm Post subject: |
|
|
Hi,
I made what you explained here before.
I put the USB Live SMS (/dev/sdb) and booted on it.
With the external SMS Installed Native SMS connected (/dev/sda).
I mounted as explained and created the lilo.conf (see P.S. here below).
And I ran the lilo -C command as explained.
There I received this warning message :
Warning: The boot sector and map file are on different disks.
Added SMS *
One warning was issued.
Afterwhat I tried to boot only on the external HDD (where Native SMS was installed on the /dev/sda) and I got a serie of :
01 01 01 01 01 01 01 01 01 01 .... (all are 01)
Then now it does not boot anymore.
I will wait your answer to then do the same command with the previous existing lilo.conf (here below in the P.S.) except if you decided to give me some other command lines I must do before or after this. Because even if I put this existing lilo.conf back to the system we will come back at the beginning of the problem. It will boot until the kernel panic.
Have a good night.
Miguipda
P.S. : Sorry for that but I discovered I missed the existing lilo.conf that was on the /mnt/sda3/etc and that was filled in with those lines during the setup (but as explained I receved a kernel panic later in the boot) :
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
#append="splash=verbose"
#bitmap=/boot/sms.bmp
#bmp-colors=95,,,75,,1
#bmp-timer=,,95,75,1
LBA32
#raid-extra-boot = mbr-only
boot = /dev/sda
prompt
timeout = 30
compact
change-rules
reset
vga = 791
image = /boot/vmlinuz
root = /dev/sda3
label = SMS
# initrd = /boot/initrd.splash
read-only _________________ Miguipda |
|
Back to top |
|
miguipda Member
Joined: 14 Jul 2011 Posts: 93
|
Posted: Tue May 29, 2012 9:33 pm Post subject: |
|
|
Hi,
due to this warning I will restart the installation of the native SMS.
I will still use my (/dev/sdb) USB Key where I installed SMS Native to setup it on my external HDD (/dev/sda).
I will follow the 2.2.3 wiki setup explanations.
I will reboot it and tell you if it still do a kernel panic.
Have a good night.
Miguipda _________________ Miguipda |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue May 29, 2012 9:37 pm Post subject: |
|
|
The lilo.conf it's the same... Try adding disk=/dev/sda
Code: | # LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
LBA32
boot = /dev/sda
disk = /dev/sda
prompt
timeout = 20
compact
change-rules
reset
vga = 791
image = /boot/vmlinuz
root = /dev/sda3
label = SMS
read-only |
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|