Installing Trisquel 7 on HP DV 5000 (many issues?)

6 risposte [Ultimo contenuto]
kokomo_joe

I am a member!

Offline
Iscritto: 07/16/2011

Is there any way to sucessfully upgrade a working T6 to T7 without going through a quagmire? I tried just changing sources and apt-getting my brains out and it's mired in "dependency hell" with dpkg errors, etc. (It's not hardware because it runs 6 without a hitch!)

Previously I have tried to get this HP DV5000 to install Trisquel 7 by CD & USB. I have tried to install the main, mini, kde and netinstall versions and none of them will install successfully. I have tried both directly installing, installing by text installer where possible AND tried to boot into live mode on each of these. None of these get to the live environment and none of these have been successful installing for me by graphical or text method. There have been various symptoms from not working at all to pretty rainbow colors where there should not be to "installing" but failing at boot and not recognizing shell commands.

I could spend all weekend on this or ask you fine folks what the heck you did to make it work.

Thanks.

Legimet
Offline
Iscritto: 12/10/2013

You can't do it by just changing the sources. The proper way to do it is:

sudo apt-get update && sudo apt-get dist-upgrade && sudo do-release-upgrade -d

But it might be difficult to recover your system now.

kokomo_joe

I am a member!

Offline
Iscritto: 07/16/2011

I wanted to re-install 6 before answering just to be sure but that wasn't working either. It said "no new release found". Is that because 7 isn't "official" yet?

Legimet
Offline
Iscritto: 12/10/2013

That's how you upgrade to a newer development release in Ubuntu, so I thought it would work in Trisquel. I never tested it though.

Chris

I am a member!

Offline
Iscritto: 04/23/2011

I'm curious what graphics chip you have in your system...

I'm thinking this might have something to do with 3d accelerated graphics support in 7 that didn't exist in 6, but doesn't actually work for you in 7. Disabling the driver might solve the problem.

kokomo_joe

I am a member!

Offline
Iscritto: 07/16/2011

Thanks Chris.

It's an Nvidia GeForce Go 6150.

Chris

I am a member!

Offline
Iscritto: 04/23/2011

I'm pretty sure this is probably an issue with the nouveau graphics driver and booting without it will 'fix' the problem (you won't have 3d accelerated graphics, but you will be able to boot the system if the directions are applied below to disable it).

Please note that this is largely off the top of my head and I didn't check this thoroughly for potential errors in the steps or changes over time...

That said to install do the following:

1. During boot hold down the left shift key to get the GRUB boot menu to show

2. Press the 'e' key to edit the boot parameters. Using the cursor keys of your keyboard scroll down to the line that starts with "linux" and go to the end of that line.

3. Add the boot parameters "nomodeset xforcevesa" without the quotes. As you type, it will wrap to the next line on the screen and show a backslash character at the end of the previous line. That's fine. Press Ctrl+X or F10 to continue to boot.

After installing it the system won't boot, but you can use a live cd with chroot to fix this. Use the above directions to boot from the Trisquel live cd again.

Then from the live CD open a terminal and run:

sudo mkdir -p /mnt/chroot

Then mount the partition you installed Trisquel to:

sudo mount /dev/sda1 /mnt/chroot

Next we need to bind hardware with new chroot environment. The next commands will make sure that connected hardware works otherwise update-grub may not function properly.

Run:

sudo mount -o bind /proc /mnt/chroot/proc
sudo mount -o bind /proc /mnt/chroot/dev

Now enter the chroot environment:

sudo chroot /mnt/chroot

Assuming your not booting in UEFI mode you can put "nomodeset xforcevesa" into /etc/default/grub. To open the file for editing, run:

gksudo gedit /etc/default/grub

locate the following line and put xforcevesa between the quotes:

GRUB_CMDLINE_LINUX_DEFAULT="nomodeset xforcevesa"

save and exit when done, then run the following for the change to take effect:

sudo update-grub

If everything worked right you should be able to reboot now and the system will boot without the 3d accelerated graphics driver. In theory that is probably what is causing the problem between the two releases.

If anybody else has another idea as to what might be causing the problem speak up!

Also: All of this said HP, Lenovo, Dell, Sony, Toshiba, and Apple should be avoided. They are worse than most utilizing digital restrictions on the wifi card slots in laptops (or proprietary parts).

It is also best to avoid NVIDIA graphics usually. Few NVIDIA chips are going to work 'good enough' with a free software operating system. There are a few exceptions, but unless you really need it, just don't. The same goes for AMD ATI graphics.

There are still potential issues with other companies, but just avoiding those things can help to avoid a world of suffering.