topic title: Desperate
Posts: 21
tnt1
Joined: 07 Sep 2010
#1
Ok, so I have this old Dell CPI A, no cd, no network, not able to boot from usb...

So I took the HD out, it's ide, I only have SATA laptops, so I put the ide drive in a drive enclosure, connect to it via usb and install antiX on it. all goes fine.

I can boot into antiX from other laptops if I set them to boot from usb HD. When I put the HD back in the old DEll, it finds grub, but wont boot. It's looking for /dev/hda, and because I installed to usb hd, the hd reads /dev/sda...

I can drop to a busybox shell, I cabn choose to go straight to cli, and it works, but I need to load fluxbox or ICEwm.
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#2
Can you post your menu.lst? (that's an l as in list .It's in /boot/grub
and also fstab, it's in /etc

cheers,
ohh
Posts: 21
tnt1
Joined: 07 Sep 2010
#3
From antiX at sda1 (that's the grub option that results in"Alert! /dev/sda1 does not exist" and drops to a Shell!!) it then gives me: (initramfs)_

I type menu.lst, and get: /bin/sh: menu.lst: not found
Posts: 21
tnt1
Joined: 07 Sep 2010
#4
If at grub, I choose: antiX-M8.5, kernel 2.6.32-1-mepis Default
I get a regular terminal, I can login and execute commands as in a normal terminal.
but still menu.lst gives a not found error
tnt1
Posts: 21
tnt1
Joined: 07 Sep 2010
#5
fstab also=comand not found
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#6
Give results of:

cat /boot/grub/menu.lst

cat /etc/fstab

and

cat ~/.xinitrc

inxi -F
Posts: 21
tnt1
Joined: 07 Sep 2010
#7
anticapitalista wrote:Give results of:

cat /boot/grub/menu.lst

cat /etc/fstab

and

cat ~/.xinitrc

inxi -F
Oh, God, that will take forever to retype it all... what am I looking for? Can I type just that bit?
Posts: 21
tnt1
Joined: 07 Sep 2010
#8
timeout 10
colour cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message

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

### BEGIN AUTOMATIC KERNELS LIST
## 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=b128d9a1-bde0-4ae2-9131-b58b45300f25 ro
# kopt_2_6=root=UUID=b128d9a1-bde0-4ae2-9131-b58b45300f25 ro nosplash quiet

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

## should update-grub create alternative auotmagic 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=

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

skip to

## ## End Default Options ##

title antiX-M8.5, kernel 2.6.32-1-mepis Default
root (hd0,0)
kernel /boot/vmlinuz root=UUID=b128d9a1-bde0=4ae2-9131-b58b45300f25 ro
nosplash quiet
initrd /boot/initrd.img

title antiX=M8.5, kernel 2.6.32-1-mepis Default (init-3)
root (hd0,0)
kernel /boot/vmlinuz root=UUID=b128d9a1-bde0-4ae2-9131-b58b45300f25 ro
nosplash quiet 3
initrd /boot/initrd.img

title antiX-M8.5, kernel 2.6.32-1-mepis root=UUID=b128d9a1-bde0-4ae2-9131-b
58b45300f25 ro nosplash quiet
initrd /boot/initrd.img-2.6.32-1-mepis

title antiX-M8.5, kernel 2.6.32-1-mepis (init-3)
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-1-mepis root=UUID=b128d9a1-bde0-4ae2-9131-b
58b45300f25 ro nosplash quiet 3
initrd /boot/initrd.img-2.6.32-1-mepis

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

### END DEBIAN AUTOMAGIC KERNELS LIST
Posts: 21
tnt1
Joined: 07 Sep 2010
#9
Well, thank heavens my wife was here to type that...

Does it help?
Posts: 21
tnt1
Joined: 07 Sep 2010
#10
cat /etc/fstab:

#Pluggable devices are handled by uDev, they are not in fstab
/dev/sda1 / ext3 defaults,noatime 1 1
proc /proc proc defaults, 0 0
devpts /dev/pts devpts mode=0622 00
# Dynamic entries below
/dev/sda2 /mnt/sda2 ext4 noauto,users,exec,relatime 00
/dev/cdrom /media/cdrom udf, iso9660 noauto,users,exec,ro 00
/dev/hda /media/cdrom udf,iso9660 noauto,users,exec,ro 00
Posts: 21
tnt1
Joined: 07 Sep 2010
#11
cat ~/.xinitrc

I potsed it, but got logged out, do I have to type it again?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#12
Which option in grub gets a successful boot?
First, second or third going down list.
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#13
Could you post:

cat /boot/grub/device.map

cheers,
ohh
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#14
If your machine has a floppy reader you can make a
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.plop.at/en/bootmanager.html"
linktext was:"PLoP"
====================================
floppy, boot from it and call the disk at the USB port.
Posts: 21
tnt1
Joined: 07 Sep 2010
#15
anticapitalista wrote:Which option in grub gets a successful boot?
First, second or third going down list.
The first is the only one that doesn't boot. All the other options boot, let me login, but only cli.