LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-09-2012, 04:04 PM   #1
LinuxNoobX
Member
 
Registered: Jan 2012
Location: Evermore
Distribution: Linux Mint 12
Posts: 165

Rep: Reputation: 2
Again with grub...


I shrank the c: from win 7 because I wanted to increase the Mint primary part size... tried to boot into Mint to allocate the freed space from Mint but grub had issues with me changing the size of the c: .

Personally I am sick of Linux and windows behaving like greedy children who can't share a hard disk. I don't care which one started the fight I am just going to end it.

I am in parted magic from a live usb right now and not surprisingly wicd is throwing a fit and wont access the net so I am using a netbook to post.

If you think that the dual boot is worth salvaging then please tell me how to fix the issue from parted magics part manager.

Edit:

Current hard disk config:

8MB(un)-dev/sda1 fat32 86MB diag-7MB(un)-dev/sda2 ntfs recovery 14GB boot-dev/sda3 ntfs OS 157GB-86gb(un)-dev/sda4 extended 40gb-dev/sda5 ext4 14gb-dev/sda6 ext4 21gb-dev/sda7 linux swap 5gb

If the dual boot can NOT be salvaged EASILY then I need to know how to return the windows boot to normal so I can run linux from a flash drive instead of spending a week configuring both OSs every time I try to make minor modifications to the disk partitions. And to add insult to injury I am going to lose all my bookmarks in firefox (including the ones that lead to linux tutorials) .

This is about the 6th time linux and grub have created problems... some would say I actually created the problem... while factually true I would like to add that windows does not give 2 craps about the size of linux parts as long as they stay out of its way... grub is the chicken little that freaks when windows gives up space.

Normally I try to keep my cool when i post but considering I am about to get zero or bad advice about fixing a simple part issue and lose a shitload of data in the process and spend weeks reconfiguring and am forced to type on a tiny netbook keyboard that doesn't recognize half my keystrokes my anxiety level is quite high.

Z/Z


Edit: Nvm ... I just inflated c: up to its original size till I can save any bookmarks and essential data until I can decide on the system configuration that I need. Z/Z

Last edited by LinuxNoobX; 02-09-2012 at 04:35 PM.
 
Old 02-09-2012, 05:20 PM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by LinuxNoobX View Post
I shrank the c: from win 7 because I wanted to increase the Mint primary part size...
that's probably what's causing you trouble: Resizing partitions is sometimes troublesome. Especially Windows partitions (FAT32 and NTFS) suffer from being resized. That's not a grub issue in the first place.

Quote:
Originally Posted by LinuxNoobX View Post
Personally I am sick of Linux and windows behaving like greedy children who can't share a hard disk. I don't care which one started the fight I am just going to end it.
Again, that works fine as long as you don't start to resize partitions. Suppose you have a Windows PC and want to turn it into a Windows/Linux dual boot system, then the best way is to back up the last existing partition, then delete it from within Windows, then recreate and reformat it to the desired new size, leaving space for the new Linux partition(s). Then restore the contents of that partition from the backup.

I know there are various tools that can resize partitions "on the fly". But that's about the same as resizing an apartment while you still continue to live in it: It's causing a mess. You'll be able to handle it, but it's still a mess.

Quote:
Originally Posted by LinuxNoobX View Post
Current hard disk config:

8MB(un)-dev/sda1 fat32 86MB diag-7MB(un)-dev/sda2 ntfs recovery 14GB boot-dev/sda3 ntfs OS 157GB-86gb(un)-dev/sda4 extended 40gb-dev/sda5 ext4 14gb-dev/sda6 ext4 21gb-dev/sda7 linux swap 5gb
Preserving line breaks would've been fine. This crumpled mess is unreadable.

[X] Doc CPU
 
1 members found this post helpful.
Old 02-09-2012, 05:45 PM   #3
LinuxNoobX
Member
 
Registered: Jan 2012
Location: Evermore
Distribution: Linux Mint 12
Posts: 165

Original Poster
Rep: Reputation: 2
I know the hard disk configuration is a mess... I have like 8 parts for just 2 simple OS setups... the comp tweak soul I have bleeds every time it sees that horrible configuration.

I am trying to swipe a copy of 7 ultimate off the net right now so I can ditch my OEM parts that are creating a mess.

I planned on switching to debian because of the virtual ram disk thing. I wanna traditional setup where I can start from a user or root account but debian doesn't seem to have a forum so I have no idea if I will get the traditional verbose start-up where I choose my account type ( aka: what shell I will log into ). I know I definitely wanna get away from the Mint black screen of death that you get at start-up... heart attack inspiring prolonged black screens are not pleasant.

I am the only user of my computers so running from root would be ideal but I recall that running from root in another distro actually reduced my access instead of giving me full (undisputed) access as I expected. I am not fond of an OS that tells me what I can and cannot do... when I issue a command I want it executed... I don't want to discuss the matter with the os and I am moar than happy to accept the consequences when I screw up. I have back-ups aplenty and I am not running a mainframe for a major corporation so if I screw up the damage is minimal.

If the swap is only for hibernation then I can ditch that too... the fewer parts the better... less complication is ideal. Z/Z
 
Old 02-09-2012, 07:05 PM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by LinuxNoobX View Post
I know I definitely wanna get away from the Mint black screen of death that you get at start-up... heart attack inspiring prolonged black screens are not pleasant.
true, I'm currently investigating how I can get the normal kernel startup messages rushing by instead of just a black screen. That was irritating me, too, from the start.

Quote:
Originally Posted by LinuxNoobX View Post
I am not fond of an OS that tells me what I can and cannot do...
Neither am I, that's why I gave up Windows more or less (occasionally, I'm still using Win 2k and Win XP).

Quote:
Originally Posted by LinuxNoobX View Post
when I issue a command I want it executed... I don't want to discuss the matter with the os and I am moar than happy to accept the consequences when I screw up. I have back-ups aplenty and I am not running a mainframe for a major corporation so if I screw up the damage is minimal.
Okay, that's a clear position. I prefer to use my Linux PCs as a non-privileged user and just issue a sudo when I have to (or be prompted for my password again on the GUI). On Windows, I'm working at administrator level all the time.

Quote:
Originally Posted by LinuxNoobX View Post
If the swap is only for hibernation then I can ditch that too...
If you have plenty of RAM, you might actually not need a swap partition. My Ubuntu machine has 2GB of RAM, and I haven't yet seen it use the swap partition. Windows XP and up work fine with swap disabled, too, but you should be sure to have enough RAM. 1GB is an absolute minimum for XP according to my experience, 2GB is comfortable. Windows 2000 cannot live without swap; you can make the swap file very small (I tried a minimum of 32MB), but then Win2k complains that there isn't enough swap space after some time, even though there's still more than 1GB of physical RAM available. Nevertheless, it works fine, only that message is annoying, and sometimes it pops up after a few minutes, sometimes after two hours of uptime.

[X] Doc CPU
 
1 members found this post helpful.
Old 02-09-2012, 08:22 PM   #5
LinuxNoobX
Member
 
Registered: Jan 2012
Location: Evermore
Distribution: Linux Mint 12
Posts: 165

Original Poster
Rep: Reputation: 2
I think with Linux I read that swap serves a dual-purpose... saving data for hibernation and for page filing which is less effective than ram but helps performance when ram is low or in high demand.

Despite the fact I actually have a forum I don't know how to do certain things like pick what part of a post to put in quotes (I think you know what I mean).

Out-of-the-box Linux is far less "jerky" than windows... the thing about windows is that if you are extremely talented you can tweak the crap out of it till it is a well oiled machine (takes a very long time to get that good) that executes any command seamlessly... but all you really have is a very fast glorified xbox. Linux is far more professional and capable of many more things than windows... a Linux computer is more a professional IT tool than a toy.

It's going to take me a long time before I can safely modify a Linux machine so that we interact seamlessly but I have loved electronics and computers since I was building radios and dismantling rc cars when I was a kid and I will be very happy the day I can gut the crap out of Linux and mold it to suit me Z/Z

Last edited by LinuxNoobX; 02-09-2012 at 08:24 PM.
 
Old 02-11-2012, 03:51 PM   #6
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by LinuxNoobX View Post
I know I definitely wanna get away from the Mint black screen of death that you get at start-up... heart attack inspiring prolonged black screens are not pleasant.
I told you I was after that, too. I found the answer today; it's not directly a Mint issue, but a dumb default setting of GRUB2. Not only hides it the boot messages, but the entire GRUB menu.

Edit /etc/default/grub (being root or using sudo), and change the line
Code:
 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
into
Code:
 GRUB_CMDLINE_LINUX_DEFAULT=""
I also had to uncomment the line
Code:
 #GRUB_TERMINAL=console
to make it effective, because my TFT was being operated out of sync otherwise.

Save the file, and run
Code:
 sudo update-grub
Reboot, and you'll SEE the GRUB menu again, and after selecting a boot entry, you'll also see the boot messages.

[X] Doc CPU
 
1 members found this post helpful.
Old 02-11-2012, 04:52 PM   #7
LinuxNoobX
Member
 
Registered: Jan 2012
Location: Evermore
Distribution: Linux Mint 12
Posts: 165

Original Poster
Rep: Reputation: 2
Thanks for the answer. I just have no idea how to access the etc folder(?) to make the appropriate changes. The entire process looks easy and very similar to altering RO scripts or Windows registry entries.

Without being in root (which I don't know how to do with Mint) I don't know the commands required to access being held in root or anywhere else using the command line.

I haven't gotten to the part with the basic Linux commands and their usage yet. Last thing I read about covered monitoring the terminal activity from root. The grind method is slow but it is comprehensive and explains how things are done as opposed to just how to do them and promotes healthy memory associations.

In any case I'll save a text file of your post and implement it later when I know the correct commands.

Thanks for going out of your way to post a solution for me... I really hate the "Black Screen of !@#$%^&*()_!!!! " Z/Z
 
Old 02-12-2012, 07:11 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Well, the sudo cmd gives you temp access to root; usually asks for your passwd (not root's).
HTH
 
Old 02-12-2012, 07:25 PM   #9
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
To change settings in default grub you only have to open terminal
issue command
if you have setup sudoers account
Quote:
sudo nano /etc/default/grub
Which will open default grub, then you use your arrow & delete keys if removing entries, or type in whatever changes you need to make.
When editing these files to save them yo use Ctrl +x then y & enter.
or n if you don't want to save the changes you made.
Also you you can use the cp command & create a backup of the file before editing.
 
  


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
[SOLVED] How come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14? trien27 Fedora 4 01-22-2011 05:02 PM
GRUB GRUB GRUB.... all over the display while booting with USB. kapsikum Linux - General 5 01-08-2010 05:29 AM
Why /boot/grub/grub.conf is symlinked to /boot/grub/menu.lst raj_hcl1986@rediffma Linux - Newbie 2 10-19-2008 03:19 AM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 07:40 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 01:55 PM


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