LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-05-2007, 09:27 AM   #16
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113

You seems to be moving the goal posts while we are trying to understand your original problem.

Your propblem reported in Post #12 could be due not rebooting the machine after you had changed the partition table, especially when a foreign system (to Linux) is involved.

If you want to install Ubuntu in sdb , or any distro, just boot up the Ubuntu and use it as a Live CD. Use its cfdisk program, by command "sudo cfdisk /dev/sdb", to make two partition of sdb1 (10Gb) and sdb2 (1Gb), alter the partition type from 83 to 82 for sdb2, highlight "write", press retuen, exit cfdisk and type at terminal "sudo reboot".

After a reboot click hard disk installation and tell the installer you want Ubuntu installed in sdb1. This may require you highlight sdb1, edit it as the mounting pont for "/", select a filing system like Ext3, click "format" and the "OK".

I never had any problem if I had a partition arranged for installing any distro. Every installer will just get on with it and know what to do with the swap.

You should meet no resistance if you install Slackware.
 
Old 07-05-2007, 11:37 AM   #17
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
No I'm just showing the results I get when I try different stuff. The problem, which has been the same from the start, is that I can't install Linux on my IDE harddrive (hdb) which was probably caused by connecting an external usb harddrive earlier.

The Windows XP cd can change partitions and installs fine, the linux cd's can't change partitions and won't install.

It's not sda or sdb that I want to install to so forget those, both disks are full with stuff that I want to keep.
 
Old 07-15-2007, 10:42 AM   #18
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
bump and 10 characters
 
Old 07-15-2007, 11:07 AM   #19
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I don't really understand what problem you have got.

Why you keep wanting to install Linux into (hdb)?

Your post #6 tells us you have no hdb! Linux with kernel 2.6.20 and later see all IDE/Pata disk same as Sata and call them sda, sdb, sdc etc. Is this your problem, that you must use hdb name?

You can, just get hold of an older Linux with kernel older than 2.6.20.
 
Old 07-16-2007, 03:39 PM   #20
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
I want to install Linux into hbd because that's the harddrive I've been using for the operating system and my other two harddrives are comletely full. Post #6 clearly shows that I *do* have hdb.

Code:
Disk /dev/hdb: 40.0 GB 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes 

Device		Boot	Start	End	Blocks		Id	System
/dev/hdb1	*	1	4864	39070048+	7	HPFS/NTFS
The problem isn't that I have to use the hdb name but that hdb is the harddrive I want to use. I've tried to install Ubuntu Dapper Drake, Ubuntu Feisty Fawn, Slackware 10, Debian Etch, nothing works. I can only install Windows XP on the harddrive. The Linux cd's can't even reformat the harddrive, something the Windows XP cd can.
 
Old 07-16-2007, 04:36 PM   #21
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Are you missing something here by saying you can't format the drive?

Your hard disk has a ntfs partition occupying the the entire 40Gb. Therefore to install a Linux you need boot up a Linux Live CD to

(1) Delete the hdb1, just use terminal command "su", then "cfdisk /dev/hdb", highlight the partition and click "delete".

(2) Create two partitions, one 10Gb and another 1Gb, which will be hda1 and hda2 if primaries or hd6 and hda7 if they are logicals. Either way or in any combination. When you create a partition in a Linux Live CD it will automatically be Type 83 which is suitable for Linux. (NTFS is Type 7 and is NOT suitable for Linux installation) You highlight hda2 and select "type" to make it Type No. 82 for being a swap.

(3) highlight "write" and confirmed again with "yes". When done highlight "quit" and press return to leave cfdisk.

(4) Go for a reboot and you will find every Linux can be installed in hda1.

You don't format the partition. You leave it to the installer. The idea is you select hda1, ask it to be formatted in ext3 and mounted as "/" and the installer will put everything inside.

Last edited by saikee; 07-16-2007 at 04:39 PM.
 
Old 07-17-2007, 01:10 AM   #22
NomDeGuerre
Member
 
Registered: Oct 2003
Posts: 136

Original Poster
Rep: Reputation: 15
Nope, I've installed Linux several times on that harddrive, probably about 50 times, it's just that I can't do it anymore and it seems like connecting an external usb harddrive once is the cause. I can't think of anything else because that's when it started acting weird. And I don't understand where the problem actually is considering that I've changed both the MBR and partitions several times since then using the Windows XP disc so nothing that was on it before that could have messed things up should be there now.

That's exactly what I've been trying, in post #12 I write about using cfdisk which managed to change the partitions but when I get to the installer I still get the same problem.
 
Old 07-17-2007, 02:00 AM   #23
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Can you create the partitions as suggested first and post the output "fdisk -l" here?

Then try to install Ubuntu and let us know exactly which step you have a problem with.
 
Old 01-15-2008, 02:09 AM   #24
jazzgossen
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
Hi! Did you ever get this problem solved? I'm having very similar trouble installing Ubuntu 7.10 to a USB flash drive. It has worked with one 1 GB flash drive, but I'm having trouble installing it to a new 4 GB drive. I've seen the same kind of I/O error messages, and the "The attempt to mount a file system failed" message from Ubuntu's GUI installer on the live CD.
 
  


Reply

Tags
disk, error, external, grub, harddrive, inputoutput, io, read, usb, write



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install external harddrive ION USB 2.0 IOGEAR? cara Slackware 4 03-01-2006 05:33 PM
USB External harddrive ashley75 Linux - General 1 10-28-2005 10:54 AM
USB 2.0 external Harddrive Problems Lars09002 Linux - Hardware 0 05-05-2005 08:45 AM
USB 2.0 PCMCIA external harddrive basd Linux - Hardware 5 10-02-2003 11:44 AM
Installing linux to and USB external Harddrive??? loser04 Linux - Hardware 1 08-18-2003 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration