Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
apt-get upgrade kernel issue
apt-get upgrade kernel issue
Two nights ago I ran: apt-get upgrade .. and let it run over night. In the process it upgraded the kernel (apparently) to the latest version.
I had been running "etch", until yesterday where it wont boot.
I've posted on linuxquestions.org and howtoforge.net and no one seems to be able to help me (or aren't just reading my posts).
Now I can no longer boot into debian and get the following error:
Begin: Waiting for root file system... ...
Done.
ALERT! /dev/hda1 does not exist. Dropping to shell!
BusyBox v1.01 (Debian 1:1.01-4) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
/ #
I can get into knoppix and see the drive fine, so the file system is still very much intact.
Here's a copy of my /boot/menu.lst (accessed via knoppix) as a search via google (and various forums) seems to match the error im getting to a problem in this file, in particular the initrd - but In my /boot/ directory I can't see an updated image file for the new kernel
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5
# Pretty colours
color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### 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=/dev/hda1 ro
## 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=791 resume=/dev/hda5
# defoptions=
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single
## 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
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.15-1-486
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.15-1-486
savedefault
boot
title Debian GNU/Linux, kernel 2.6.15-1-486 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.15-1-486
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
Thanks very much!!
James
I had been running "etch", until yesterday where it wont boot.
I've posted on linuxquestions.org and howtoforge.net and no one seems to be able to help me (or aren't just reading my posts).
Now I can no longer boot into debian and get the following error:
Begin: Waiting for root file system... ...
Done.
ALERT! /dev/hda1 does not exist. Dropping to shell!
BusyBox v1.01 (Debian 1:1.01-4) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
/ #
I can get into knoppix and see the drive fine, so the file system is still very much intact.
Here's a copy of my /boot/menu.lst (accessed via knoppix) as a search via google (and various forums) seems to match the error im getting to a problem in this file, in particular the initrd - but In my /boot/ directory I can't see an updated image file for the new kernel
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5
# Pretty colours
color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### 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=/dev/hda1 ro
## 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=791 resume=/dev/hda5
# defoptions=
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single
## 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
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.15-1-486
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.15-1-486
savedefault
boot
title Debian GNU/Linux, kernel 2.6.15-1-486 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.15-1-486
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
Thanks very much!!
James
Re: apt-get upgrade kernel issue
In the menu.list you have same options twice? Which kernel do you have now?Jamesk5 wrote:Two nights ago I ran: apt-get upgrade .. and let it run
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.15-1-486
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.15-1-486
savedefault
boot
title Debian GNU/Linux, kernel 2.6.15-1-486 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.15-1-486
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
Thanks very much!!
James
Boot with Knoppix. Then test this:
Code: Select all
$ su -
# fdisk -l
# fixmbr /dev/hda
Code: Select all
# mount -t ext3 -o rw /dev/hda1 /mnt
Code: Select all
# chroot /mnt
# grub-install /dev/hda for Grub
# /sbin/lilo for Lilo
#exit
#sync
I just had the same problem with ETCH, and what I did was this:
booting live cd (knoppix)
opened up a shell and issued the following commands:
Now, for me the problem was that udev was not updated, and that might not be the case for someone else, but I fixed it simply with:
rebooted the system, and everything is back to normal.
I tried the suggested yiard thingie, but it didnt work (due to my stupidness of course hehe, proc was not mounted), and I am happy I didnt succeed with that at the moment.
Hope this helps someone
//Nemo DX Zimmer //Esknetlabs
booting live cd (knoppix)
opened up a shell and issued the following commands:
Code: Select all
su -
mount -t ext3 -o rw /dev/hda1 /mnt
chroot /mnt
apt-get update
apt-get upgrade
Code: Select all
apt-get install udev
I tried the suggested yiard thingie, but it didnt work (due to my stupidness of course hehe, proc was not mounted), and I am happy I didnt succeed with that at the moment.
Hope this helps someone
//Nemo DX Zimmer //Esknetlabs
thanks
Thank you very much. I Had the same Problem with Etch on AMD64.Nemo DX Zimmer wrote: Now, for me the problem was that udev was not updated, and that might not be the case for someone else, but I fixed it simply with:
Code: Select all
apt-get install udev
dedeibel
Alert ! /dev/hda1 does not exist (booting debian etch)
Thanks a lot for this message : It works perfectly.
I have just one thing to add :
after
#mount -t ext3 -w /dev/hda1 /mnt
#chroot /mnt
I added this line to have apt-get working :
#mount -a
(because my others partitions (used by apt) where not mounted)
I hope it could help...
Sincerily.
Anat
I have just one thing to add :
after
#mount -t ext3 -w /dev/hda1 /mnt
#chroot /mnt
I added this line to have apt-get working :
#mount -a
(because my others partitions (used by apt) where not mounted)
I hope it could help...
Sincerily.
Anat
Thanks, this fixed the same problem for me. I thought I was going to have to reinstall everything. Upgrading to udev 0.091-2 did the trick.Nemo DX Zimmer wrote:Now, for me the problem was that udev was not updated, and that might not be the case for someone else, but I fixed it simply with:Code: Select all
su - mount -t ext3 -o rw /dev/hda1 /mnt chroot /mnt apt-get update apt-get upgrade
Code: Select all
apt-get install udev
Cheers!!
I got a similar problem. I can boot via kernel 2.4.27-2-386 but not with 2.6.16-2-686. I upgraded udev and installed yaird but nothing happened. My menus.lst is the following
title Debian GNU/Linux, kernel 2.6.16-2-686
root (hd0,2)
kernel /boot/vmlinuz-2.6.16-2-686 root=/dev/hde3 ro
initrd /boot/initrd.img-2.6.16-2-686
savedefault
boot
title Debian GNU/Linux, kernel 2.6.16-2-686 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.16-2-686 root=/dev/hde3 ro single
initrd /boot/initrd.img-2.6.16-2-686
savedefault
boot
title Debian GNU/Linux, kernel 2.4.27-2-386
root (hd0,2)
kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/hde3 ro
initrd /boot/initrd.img-2.4.27-2-386
savedefault
boot
title Debian GNU/Linux, kernel 2.4.27-2-386 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/hde3 ro single
initrd /boot/initrd.img-2.4.27-2-386
savedefault
boot
Can someone help me please?
title Debian GNU/Linux, kernel 2.6.16-2-686
root (hd0,2)
kernel /boot/vmlinuz-2.6.16-2-686 root=/dev/hde3 ro
initrd /boot/initrd.img-2.6.16-2-686
savedefault
boot
title Debian GNU/Linux, kernel 2.6.16-2-686 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.16-2-686 root=/dev/hde3 ro single
initrd /boot/initrd.img-2.6.16-2-686
savedefault
boot
title Debian GNU/Linux, kernel 2.4.27-2-386
root (hd0,2)
kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/hde3 ro
initrd /boot/initrd.img-2.4.27-2-386
savedefault
boot
title Debian GNU/Linux, kernel 2.4.27-2-386 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/hde3 ro single
initrd /boot/initrd.img-2.4.27-2-386
savedefault
boot
Can someone help me please?
-
- Posts: 4
- Joined: 2006-07-10 16:27
- bluesdog
- Posts: 2077
- Joined: 2006-02-01 09:02
- Location: Similkameen, British Columbia, Canada
- Been thanked: 1 time
There should be a space between 'rw' and the first forward slash. egcleverlion wrote:Hi all,
When I type
mount -t ext3 -o rw/dev/hda1 /mnt
from knoppix I get the message:
mount: /dev/hda1 already mounted or /mnt busy
Any ideas?
Code: Select all
mount -t ext3 -o rw /dev/hda1 /mnt
Code: Select all
sudo mount -t ext3 -o rw /dev/hda1 /mnt
Code: Select all
sudo mount -t ext3 -o remount,rw /dev/hda1 /mnt
-
- Posts: 4
- Joined: 2006-07-10 16:27
bluesdog,
Thank you so much for the response! Unfortunately, though, the missing space in my post was a typo, and I was already running as root.
I tried adding the "remount" flag to -o, and mount prints this:
mount: /mnt not mounted already, or bad option
So mount says its "already mounted" and remount says its "not mounted already." Nice . I've tried creating temp directories instead of using /mnt but the exact same thing happens.
Any ideas would be greatly appreciated! Thanks!
Thank you so much for the response! Unfortunately, though, the missing space in my post was a typo, and I was already running as root.
I tried adding the "remount" flag to -o, and mount prints this:
mount: /mnt not mounted already, or bad option
So mount says its "already mounted" and remount says its "not mounted already." Nice . I've tried creating temp directories instead of using /mnt but the exact same thing happens.
Any ideas would be greatly appreciated! Thanks!