LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 03-14-2005, 12:37 AM   #1
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Rep: Reputation: 30
Question Knoppix install refuses to boot. No write permissiond to hard drive?


Ok here's the thing. I'm trying to install Knoppix on my father's old laptop. The Live-CD works great, no problems. However when I try to install knoppix to the hard drive it says "Oh I must partition this drive first!" and then it claims to run cfdisk which returns:

Code:
Opened disk read-only - you have no permission to write

Since when did a hard drive become read only? So here's what I have tried step by step (and I couldnt' find anything on the FAQ or google FYI):


1) Boot into knoppix using 'knoppix26 lang=us 2", which doesn't startx and leaves me at the command prompt.

2) Run cfdisck *before* I run the installer. I removed all partitions so that it the drive had 100% free space and wrote my changes. The write was successful.

3) Checked the drive with fdisk to make *absolutely sure* that the hard drive had nothing but free space. it did.

4) Run 'knoppix-installer' from the command line. It still said that the drive needed to be partitioned for free space first and it still gave me the same error and refused to start the installation process.

5) Tried running 'knoppix-installer --force' to get it to STFU, but still it wouldn't let me start the installation without forcing me to fail to partition my drive once again.



And now I'm completely stuck on what to do. (All of those commands were run as root BTW). I'm starting to get frustrated because first I tried installing Suse 9.2 netinstall CD on this laptop and the installer is ghetto (requires you to manually enter an IP address and directory to get the sources from). So now both Suse 9.2 and Knoppix have failed on me. I'm beginning to lose faith in linux installers in general at this point. Does anyone have a clue on how I can get around this mishap? Thanks as always.
 
Old 03-14-2005, 12:50 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,499

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Re: Knoppix install refuses to boot. No write permissiond to hard drive?

Quote:
Originally posted by R00ts 4) Run 'knoppix-installer' from the command line. It still said that the drive needed to be partitioned for free space first and it still gave me the same error and refused to start the installation process.
Try:
Code:
 sudo knoppix-installer
 
Old 03-14-2005, 08:28 AM   #3
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Original Poster
Rep: Reputation: 30
I did that as well. It had no effect.
 
Old 03-14-2005, 08:46 PM   #4
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
It's almost as though it is booting into single user mode. I'm not real knowledgable on Knoppix, so I shouldn't really be talking here. But you could try from the shell:

mount -a

And see if then is mounted so you can write. Or:

mount -o remount,rw <device or mount point>
 
Old 03-15-2005, 05:28 PM   #5
rossjman1
Member
 
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71

Rep: Reputation: 15
deleted

Last edited by rossjman1; 03-15-2005 at 05:31 PM.
 
Old 03-15-2005, 07:29 PM   #6
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
Pretty sure Knoppix mounts disks read only to protect the data there. Curious to see how this turns out.
 
Old 03-15-2005, 09:02 PM   #7
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
What version of knoppix?
You shouldnt need knoppix26 with new version,its default.
It should boot to desktop.
sudo cfdisk /dev/da*
should take care of it.
Are you sure you are writeing in cfdisk when done on each partition?
 
Old 03-15-2005, 09:03 PM   #8
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 33
I recently installed Knoppix 3.7 (less than a week ago) as a distro to the hard drive using the 'knx2hd' command, answering the few questions it asked...........I ran into some snags, but the problem I encountered was it wouldn't install lilo properly to the Knoppix partition,,,,,,,,It took a few tries before the installer got it right..........I didn't want to install lilo to the main MBR, cause I have a multiboot setup I didn't want to disturb......

I didn't have any permissions problem, but I installed to a desktop machine, not a laptop................I wonder if that makes a difference......

Another thing is I didn't use sudo, I just simply ran the 'su -' command to run the installer.........I've never been a big fan of sudo and always su to root when necessary........


Clark,
As for Knoppix mounting partitions read-only, that's true, but I didn't have to mount the partition I had ready for Knoppix. I just pointed the installer to the partition I wanted and the installer did all the work of partitoning it, then mounting it and copying files, after which it tries to install the bootloader.......
 
Old 03-16-2005, 10:46 AM   #9
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Original Poster
Rep: Reputation: 30
I'm trying to install Knoppix 3.7. I will try playing around with it a little more tonight if I have time. I did try running cfdisk and formatting/partitioning the drive before I tried to install Knoppix, and I'm *positive* that I wrote the changes to the disk, because after rebooting I checked the HD partitions and saw that Windows was gone for good.


Once I play around withit some more I will report either my success or failure here, so stay tuned.
 
Old 03-16-2005, 07:56 PM   #10
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
One thing you might want to consider if you find things aren't working out with Knoppix like you had hoped is Kanotix.....

http://iso.linuxquestions.org/version.php?version=123
 
Old 03-16-2005, 10:21 PM   #11
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by ironwalker
sudo cfdisk /dev/da*
should take care of it.

I tried that command, and got the same error I get when Knoppix tries to load. WTF is going on?

BTW this is a Sony Vaio PCG-XG700 laptop I'm trying to install it on.


Maybe I'll just try another distro instead. I just want a solid, easy-to-use distro for my laptop that does all the hardware-config for me. I want to use my laptop strictly for productivity. My desktop is the system where I like to play around.
 
Old 03-16-2005, 10:35 PM   #12
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
Quote:
Originally posted by R00ts


Maybe I'll just try another distro instead. I just want a solid, easy-to-use distro for my laptop that does all the hardware-config for me.
Best of luck to you. I do not think you are going to find what you are looking for. What about WiFi? Does your laptop have a WiFi card? What about the touchpad? Do you expect to use it? No distro is going to configure those out of the box for you I don't think.
 
Old 03-16-2005, 11:22 PM   #13
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Clark Bent
Best of luck to you. I do not think you are going to find what you are looking for. What about WiFi? Does your laptop have a WiFi card? What about the touchpad? Do you expect to use it? No distro is going to configure those out of the box for you I don't think.

No it doesn't have a WiFi card (although I was going to get one for it so I could use it on campus). Yes it has a touchpad (which works peroperly under gnome). I also have an ethernet card which configures properly under both gnome and SuSE.
 
Old 03-17-2005, 12:04 AM   #14
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
The touchpad worked out of the box with no configuration from you? Thats very interesting. I have installed Linux on several laptops and not once have I not had to patch the kernel with the alps patch and configure X by hand. Although, I have read on the newer 2.6 kernels, you aren't supposed to have to patch these, but I always winding up having to do so anyway...at least on 2.6.10. Haven't tried anything newer. Well thats good that it works for you out of the box!

Last edited by Clark Bent; 03-17-2005 at 12:36 AM.
 
Old 03-17-2005, 08:56 AM   #15
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 545

Original Poster
Rep: Reputation: 30
Yeah, I was kind of surprised too after hearing all the horror stories of Linux on laptops. But Knoppix 3.7 detected it just fine and it works great.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Using Knoppix to rescre data from a non-boot hard drive satimis Linux - General 2 05-18-2005 10:27 AM
knoppix hard drive install somuchfor Debian 9 07-03-2004 12:25 AM
Knoppix Hard Drive install cb9fl Linux - Software 11 05-29-2004 10:39 AM
install knoppix on hard drive comprookie2000 Linux - Newbie 5 02-15-2004 06:35 PM
Knoppix hard drive install Timothy Miller Linux - Networking 0 03-26-2003 11:29 AM


All times are GMT -5. The time now is 05:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration