Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was trying to install Ubuntu 13 on my new lenovo computer with haswell processor and nvidia G750M. I have never installed linux before and learned basic unix commands last week.

I was following a guide: Unable to install Ubuntu on Lenovo Y500

However, I got to the part where I was able to install Ubuntu successfully, but now I can't open it (the screen turns off when it opens).

I need to be able to finish the final steps, in order to fix my issues but I can't seem to locate the partition linux is on, everything is a GPT partition table with no labels when i do fdisk -l :

5) After the install is complete, boot again with your USB and select "Try Ubuntu" and let it boot to the text console.

You will not be able to use this new Ubuntu install until you edit this grub.cfg as well. To do this, first mount this new partition, and then edit the grub.cfg as above in the Ubuntu editor of your choice (vi, nano, etc).

sudo mkdir /mnt/newinstall
sudo mount /mnt/newinstall /dev/sdb8
sudo vi /mnt/newinstall/boot/grub/grub.conf

(Same edits as listed in step 3. Also on my install Ubuntu was on the 8th partition > /dev/sdb8. Yours may vary so check it first!)

** Note the file is write protected, so make sure you use ":w!" to write from vi.

Trying to input those exact commands gives me: /mnt/newinstall is not a block device

I really want to start using Ubuntu but I can't without changing the one line in grub.conf (i think)

share|improve this question
    
just to check which command is it failing at. (those are 3 separate commands) try running each separately (but in order) –  namingFailed Jul 6 '13 at 20:53

3 Answers 3

Swap the two params of mount command.

share|improve this answer

fdisk does not work for gpt drives. You can use parted or download gdisk which is the fdisk for gpt drives. I suggest you install gdisk even if you do not use it for creating partitions.

sudo parted /dev/sda unit s print

sudo gdisk -l /dev/sda

If using the nVidia driver you need nomodeset. From grub menu press e for edit, scroll down to linux line and change quiet splash to nomodeset. But some new systems also require other boot parameters.

My computer boots to a black screen, what options do I have to fix it?

share|improve this answer

The error /mnt/newinstall is not a block device is caused by your giving the parameters in the wrong order.

mount newdevice mountpoint says "mount the device with name newdevice in the directory with name mountpoint".

So what you need to do is change the second command to

sudo mount /dev/sdb8 
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.