LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware 12.1 won't boot up after installation advent 5302 (https://www.linuxquestions.org/questions/slackware-14/slackware-12-1-wont-boot-up-after-installation-advent-5302-a-672630/)

matt0007 09-27-2008 02:43 PM

Quote:

Originally Posted by hitest (Post 3293603)
Here's a how to using fdisk, but, cfdisk would work just as well. If the root partition was not set as bootable that may be your problem.

http://www.howtoforge.com/the_perfec...op_slackware12

you were right. i hadn't set it as bootable partition. now i fixed it but it still didn't solve the problem

matt0007 09-27-2008 03:11 PM

Quote:

Originally Posted by keefaz (Post 3293625)
good :)
Login as root, and mount your system partition:
mount /dev/sda4 /mnt

then post the output with:
cat /mnt/etc/lilo.conf

[edit]
or maybe just try to boot with:
hugesmp.s root=/dev/sda4 rdinit= ro hda=noprobe

i tried booting with the line you suggested, but it froze again

then posted the output with:
cat /mnt/etc/lilo.conf

and it showed:
#Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda4
label = Linux
read-only # Partitions should be mounted read-only for checking
#Linux bootable partition config ends
then there was some info about my xp and vista partition i didn't write it down since i didn't think it was relevant

keefaz 09-27-2008 03:49 PM

You may need this line: initrd = /boot/initrd.gz
under the line: image = /boot/vmlinuz

But for now, just for checking, could you try to boot from the install DVD with this line:

hugesmp.s root=/dev/sda4 rdinit= ro hda=noprobe acpi=force

matt0007 09-27-2008 04:14 PM

Quote:

Originally Posted by keefaz (Post 3293675)
You may need this line: initrd = /boot/initrd.gz
under the line: image = /boot/vmlinuz

But for now, just for checking, could you try to boot from the install DVD with this line:

hugesmp.s root=/dev/sda4 rdinit= ro hda=noprobe acpi=force

no luck - got stuck again after:
hda_codec: Unknown model for ALC662, trying auto-probe from BIOS...

keefaz 09-28-2008 04:40 AM

Maybe you could try disable audio card in BIOS, and try another boot...
Once it boots fine, there will be some ways to re-enable audio

You said it stucks after the line: 'hda_codec: Unknown model for ALC662'
There is no other error line, right ?

matt0007 09-28-2008 09:10 AM

well, after you asked if that was the only error, i tried booting with your suggested line(boot: hugesmp.s root=/dev/sda4 rdinit= ro hda=noprobe acpi=force) few more times

first time got stuck at:
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel

then 2:
Marking TSC unstable due to: possible TSC halt in C2
Time: acpi_pm clocksource has been installed
hda_codec: unknown model for ALC662, trying auto-probe from BIOS...

3:
SCSI 4:0:0:0: Direct-Access Generic - Multi-card 1.00 PQ:0 ANSI:0 CCS
sd 4:0:0:0: [sdb] Attached SCSI removable disk
sd 4:0:0:0: Attached scsi generic sg l type 0

4:
hda_codec: unknown model for ALC662, trying auto-probe from BIOS...
Marking TSC unstable due to: possible TSC halt in C2
Time: acpi_pm clocksource has been installed

5:
ACPI: Video Device [VGA] (multihead: yes rom: no post: no)
hda_codec: unknown model for ALC662, trying auto-probe from BIOS...
shpchp: Standard Hot plug PCI Controller Driver Version: 0.4


now with BIOS - it's got very minimal menu and there is no way to switch sound card off. There were only two options, that I didn't know what they were for:
1. Execute Disable Bit. which by default was enabled
2. LCD panel power saving. Also enabled

tried disabling them and then booting, but they donn't seem to influence the process

keefaz 09-28-2008 10:45 AM

Could you try:
hugesmp.s root=/dev/sda4 rdinit= ro pnpbios=off acpi=off

Or:
hugesmp.s root=/dev/sda4 rdinit= ro pnpacpi=off acpi=off


I have no idea though, if that fails, maybe try: apm=off instead of acpi=off, just in case

Road_map 09-28-2008 11:25 AM

Quote:

Originally Posted by keefaz (Post 3294192)
I have no idea though, if that fails, maybe try: apm=off instead of acpi=off, just in case

That could be the solution. In any case, I suggest to reinstall Slackware on that machine.

matt0007 09-28-2008 02:30 PM

@keefaz,

i've tried all the lines you suggested - all of them failed

one more error, but alittle bit more up the screen, i noticed:
rtc_cmos: probe of 00:02 failed with error -16

@Road map,

reinstalled the slackware, ran commands suggested in this thread again and the result was the same


also, downloaded backtrack 3, since it's based on slackware, thought that with few mods it would run, but also, no luck - even the livecd freezes after the line:
Serial 8250/16550 driver $revision: 1.90 $ 4 ports, irq sharing enabled
i know, that this livecd works, because, i've tried booting it up on my friens "sony" and it worked just fine. my assumption is that it is something specific to my machine, that prevents it from booting

the only thing i haven't tried is trying to download slackware again and burning new dvd, but i don't know if that's worth doing since the one i have, i checked the md5 and burned it at the lowest speed possible. what do you guys think?

a question - when lilo boot up menu comes up with the choice. there is a message, that you can press [tab] for command promt. is it possible entering commands there and is there any difference to booting it from dvd and typing: hugesmp.s root=/dev/sda4 [command1] [command2]...

one more thing, i am really grateful for your time and help, but could you also try to explain what these commands are for and what the issue seems to be. maybe we're missing something simple here, and by not understanding what i'm doing prevents us from succeeding

keefaz 09-28-2008 02:45 PM

We are suggesting boot with some kernel parameters because as you already tested, booting your laptop with no parameters fails.

See kernel parameters:
http://www.mjmwired.net/kernel/Docum...parameters.txt

We are mainly suggesting acpi parameters, as eventually some bios plug n play features or weird power management events make the Linux boot fail

I find it weird that you have access to only 2 parameters in BIOS pages though

matt0007 09-28-2008 02:59 PM

no, you misunderstood me. i have 7 options in my BIOS, but 2 were the only two disabling something:
I have:
MAIN: where you can set you date/time and see you drives
INFO: where there is some info, but you can't change anything
ADVANCED: that's where you can disable only one thing and that is: Execute disable bit
SECURITY: where you can set passwords
POWER: that's also a window with only one parameter: LCD power saving
BOOT: where you can adjust booting sequence
EXIT with it's own options

any other ideas what i could try?

keefaz 09-28-2008 02:59 PM

The install DVD boots fine ? without kernel parameters and without a problem ?
If yes, boot from your install DVD, mount your root partition:
mount /dev/sda4 /mnt
and post the output with: cat /mnt/etc/fstab

[edit]
You tried this parameter: pci=noacpi ?

Lol, I am sorry for off topic, but just wanted to show this :):
Quote:

Originally Posted by Documentation/kernel-parameters.txt
Code:

acpi_os_name=        [HW,ACPI] Tell ACPI BIOS the name of the OS
                Format: To spoof as Windows 98: ="Microsoft Windows"


There are funny parameters here

matt0007 09-28-2008 03:21 PM

yes, it's booting fine without any parameters

cat /mnt/etc/fstab:

dev/sda3 swap swap defaults 0 0
dev/sda4 / ext3 defaults 1 1
dev/sda1 /fat-c ntfs-3g umask=000 1 0
dev/sda2 /fat-d ntfs-3g umask=000 1 0
#dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
dev/pts /dev/pts /devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpts /dev/shm tmpfs defaults 0 0


i don't know if that's relevant, but i have no floppy in my laptop

other thing i noticed is that my first problem after install is that i can't reboot using ctrl+alt+del. first time i installed i used [halt] then swithed it off and back on and second i used [reboot]

keefaz 09-28-2008 03:35 PM

If you can't reboot using ctrl+alt+del, that means some issue with power management

Could you boot from DVD, mount the partition and show output with:
mount /dev/sda4 /mnt
ls -l /mnt/etc/rc.d/rc.acpid

It has "-rwxr-xr-x" permissions ?

You can also try boot in runlevel 1, in this case boot from DVD and give the line:
hugesmp.s root=/dev/sda4 rdinit= ro 1

I assume your fstab lines with dev/sda4, dev/sda3... are typo errors
(should be /dev/sda4 etc)

Another idea, maybe try disable hotplug, boot with:
hugesmp.s root=/dev/sda4 rdinit= nohotplug

matt0007 09-28-2008 03:58 PM

mount /dev/sda4 /mnt
s -l /mnt/etc/rc.d/rc.acpid:
-rwxr-xr-x 1 root root 466 nov 5 2004 /mnt/etc/rc.d/rc.acpid*

run level 1 failed at
hda_codec: unknown model for ALC662, trying auto-probe from BIOS...


All times are GMT -5. The time now is 04:02 PM.