Scrambled screen on i915; Installing with broken cd drive.

7 réponses [Dernière contribution]
ag2
ag2
Hors ligne
A rejoint: 02/16/2012

Hi,

I need to reinstall Trisquel-mini on my computer, which is an old thinkpad with a broken cd drive, but has a mostly working taranis installation and grub. I figured out how to boot the Dagda iso from my hard disk, and the plan is that I use it to install on the already-partitioned hard disk, if that will work.

When I booted the iso, the display worked well, until X started. After that, when I changed away from vt7 using ctrl-alt-1, etc. the screen was either a very scrambled version of the desktop, or a mish-mash of random pixels. On the first couple times, it would stay for a couple seconds and then right itself, but on other tries it began to show the terminal with a blue background once the scrambled screen had gone, and once or twice it locked up when I tried to change it back to vt7 (taranis works fine). My card is a Intel 830MG (the output of dmesg and lspci are below), and I noticed that there were updates for xserver-xorg-video-intel, which I use for it. Does anyone know how to fix this, or, if updating the driver might work, how to boot into the live cd in a text-only mode so I can install the new driver and test it?

If I can't fix that problem, does anyone know if it would be possible to boot the taranis live cd like I did the Dagda, or how to boot a taranis live usb, with neither usb drivers, nor the ability to boot usb drives in the BIOS?

I attached both the output of lspci and dmesg, both from the Dagda live cd.

Thank you,
A.

Chris

I am a member!

Hors ligne
A rejoint: 04/23/2011

You can also just pop the hard drive out of the system and stick it into another, reload, and return to the broken system.

ag2
ag2
Hors ligne
A rejoint: 02/16/2012

I dont have access to another computer :(

ag2
ag2
Hors ligne
A rejoint: 02/16/2012

I dont have access to another computer :(

lembas
Hors ligne
A rejoint: 05/13/2010

>how to boot a taranis live usb

Well, you could try pointing GRUB2 to the USB. It does take a bit of
tinkering... I don't have the mini USB here at hand but this worked for the
text mode install of full Trisquel.

First, you need to make the grub menu visible by editing (as superuser)
/etc/default/grub and commenting out (by placing the # in front the following
line)

GRUB_HIDDEN_TIMEOUT=0

and then setting GRUB_TIMEOUT= to a non-zero value, say 10. After that you'll
want to run update-grub (as superuser). Finally, you need to find out your
grub password by catting (as superuser) cat /etc/grub.d/01_PASSWORD

Now, restart the system. Once you hit the grub menu, press c to access grub
command line. Enter the username and password you found out earlier. Then
issue the following commands:

background_image
clear
ls
And then look for a hd with a single partition, it is likely your usb stick,
you can make sure by
ls (your guess here)/casper/
If you get not found or error, that's not the stick. Once you've found the
partition, let's
set root=(the partition, i.e. something,something)
linux /casper/vmlinuz
initrd /casper/initrd.netinst
And finally
boot

If everything went ok, you should see the text mode installer now. If things
went sour, you'll see an initramfs prompt or who knows what. I didn't try
doing the install so... fingers crossed!

mYself
Hors ligne
A rejoint: 01/18/2012

To boot directly into the terminal/command line (on Live CD):

Trisquel 5.0 STS "Dagda"
Boot up the disc, select language, press [F6], [Esc], write 'single' (without
quotes) and press [Enter].

Trisquel 4.0 LTS "Taranis"
Boot up the disc, select language, press [F4], write 'single' (without
quotes) and press [Enter].

If you have graphic issues:

Trisquel 5.0 STS "Dagda"
Boot up the disc, select language, press [F6], select 'nomodeset' (with
[Space bar]/[Enter]), press [Esc] and [Enter].

Trisquel 4.0 LTS "Taranis"
Boot up the disc, select language, press [F4], write 'nomodeset' (without
quotes), press [Esc] and [Enter].

To fix GRUB on your partition within the Live CD environment:
$ sudo su
$ mount YOUR_DEVICE /mnt
$ mount -B /dev /mnt/dev
$ mount -B /proc /mnt/proc
$ mount -B /sys /mnt/sys
$ chroot /mnt dpkg-reconfigure grub-pc

Hope that something from these will help.

lembas
Hors ligne
A rejoint: 05/13/2010

>how to boot a taranis live usb

Well, you could try pointing GRUB2 to the USB. It does take a bit of tinkering... I don't have the mini USB here at hand but this worked for the full Dagda (5.0) Trisquel on USB.

First, you need to make the grub menu visible by editing (as superuser) /etc/default/grub and commenting out (by placing a # in front the following line)

GRUB_HIDDEN_TIMEOUT=0

and then setting GRUB_TIMEOUT= to a non-zero value, say 10. After that you'll want to run update-grub (as superuser). Finally, you need to find out your grub username and password by catting (as superuser) cat /etc/grub.d/01_PASSWORD

Now, restart the system. Once you hit the grub menu, press c to access grub command line. Enter the username and password you found out earlier. Then issue the following commands:

background_image
clear
ls
And then look for a hd with a single partition, it is likely your usb stick, you can make sure by
ls (your guess here)/casper/
If you get not found or error, that's not the stick. Once you've found the partition, let's
set root=(the partition, i.e. something,something)
linux /casper/vmlinuz
initrd /casper/initrd.netinst
And finally
boot

If everything went ok, you should see the text mode installer now. If things went sour, you'll see an initramfs prompt or who knows what. I didn't try doing the actual install so... fingers crossed!

mYself
Hors ligne
A rejoint: 01/18/2012

To boot directly into the terminal/command line (on Live CD):

On 'Trisquel 5.0 STS Dagda':
Boot up the disc, select language, press [F6], [Esc], write 'single' (without quotes) and press [Enter].

On 'Trisquel 4.0 LTS Taranis':
Boot up the disc, select language, press [F4], write 'single' (without quotes) and press [Enter].

If you have graphic issues, try this (on Live CD):

On 'Trisquel 5.0 STS Dagda':
Boot up the disc, select language, press [F6], select 'nomodeset' (with [Space bar]/[Enter]), press [Esc] and [Enter].

On 'Trisquel 4.0 LTS Taranis':
Boot up the disc, select language, press [F4], write 'nomodeset' (without quotes) and press [Enter].

To fix GRUB on your partition within the Live CD environment:

Open Terminal (press [Ctrl]+[Alt]+[T]), then follow:
$ sudo su
$ mount YOUR_DEVICE /mnt
$ mount -B /dev /mnt/dev
$ mount -B /proc /mnt/proc
$ mount -B /sys /mnt/sys
$ chroot /mnt dpkg-reconfigure grub-pc
$ reboot

YOUR_DEVICE can be for example /dev/sda1. Use 'Disk Utility' to find yours.

Hope that something from these will help.