topic title: waiting for root
Posts: 3
paparucino
Joined: 18 Oct 2010
#1
Hi all,
Im new to Antix and of course Ive a problem __{{emoticon}}__
When I boot the system waits and waits and waits for
"Waiting for root file system ..."
Any hint?

Thank in advance
Last edited by paparucino on 18 Oct 2010, 20:52, edited 1 time in total.
Posts: 903
plvera
Joined: 11 Oct 2008
#2
Hello paparucino:

Is this booting from a live cd? Do you get the grub screen? Is it hanging after the grub menu?
Also, some details about your system might be useful in determining the problem.
Good luck and welcome to antix!

Pedro
Posts: 3
paparucino
Joined: 18 Oct 2010
#3
Hi Pedro,
Ive installed Antix on a hd partition and since Ive grub already installed for other distros Ive modified grub.cfg adding the appropriate vmlinuz and initrd
The problem arises during the boot procedure. I checked in /var/log but there are no logs to check __{{emoticon}}__

papa
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#4
GRUB2 uses options defined in /etc/default/grub folder only.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.dedoimedo.com/computers/grub-2.html"
linktext was:"http://www.dedoimedo.com/computers/grub-2.html"
====================================


I am no Grub 2 expert. I dread using Grub 2 as I am fine with editing Grub Legacy.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ubuntuforums.org/showthread.php?t=1195275"
linktext was:"http://ubuntuforums.org/showthread.php?t=1195275"
====================================


Since you are running Grub 2 to boot AntiX. You should not have to manually insert anything into grubconfig.

If You installed AntiX grub to /boot in Antix root. You should only need to do a

Code: Select all

sudo update-grub
if using a distro with sudo.

For Grub 2 to detect /boot/grub/menu.lst in Antix and load into grub 2 I think __{{emoticon}}__
Posts: 3
paparucino
Joined: 18 Oct 2010
#5
Grub is ok, otherwise it wont boot. At last should have to add some other options __{{emoticon}}__
Antix boots correctly but stops, better.. wait after loading loading lot of stuff.
What sounds strange for me is that some of the file which should be in /root are under the directory /antiX-install
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#6
Maybe adding a kernel line parameter like

Code: Select all

rootdelay=15
to let things settle down to give your gear time to settle down might help. Like I said. Not a expert (plus I just woke up. It is early morning here.


Just to show you mine. Which is custom for my EEEPC 900.

Code: Select all

timeout 10
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

title antiX at sda1, kernel 2.6.32-1-mepis-smp
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-1-mepis-smp root=/dev/sda1 elevator=noop nomce quiet nosplash vga=788 
initrd /boot/initrd.img-2.6.32-1-mepis-smp
boot

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=b5c8ff9d-5016-4862-8c6c-b96ac634f9de ro
# kopt_2_6=root=UUID=b5c8ff9d-5016-4862-8c6c-b96ac634f9de ro nosplash quiet

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=788 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(init-3) 3

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title        antiX-M8.5, kernel 2.6.32-1-mepis-smp
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.32-1-mepis-smp root=UUID=b5c8ff9d-5016-4862-8c6c-b96ac634f9de ro elevator=noop nosplash quiet 
initrd        /boot/initrd.img-2.6.32-1-mepis-smp

title        antiX-M8.5, kernel 2.6.32-1-mepis-smp (init-3)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.32-1-mepis-smp root=UUID=b5c8ff9d-5016-4862-8c6c-b96ac634f9de ro elevator=noop nosplash quiet 3
initrd        /boot/initrd.img-2.6.32-1-mepis-smp

title        antiX-M8.5, kernel memtest86+
root        (hd0,0)
kernel        /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

I don't multi-boot this unit. No room for it. This is a Grub Legacy Entry modified by me for this EEEPC.

After Antix goes through first boot. Then UUID is added via Debians Automagic Kernels List to /boot/grub/menu.lst at the botttom of text file. I have not updated the kernel on this unit because everything works OK with stock kernel on this unit (I had trouble with stock kernel on my EEEPC 701SD).

Wish I could be more help to you on this. Maybe one of the other members or Anti can shed some light on this.

Happy Trails, Rok