Author Topic: How to change the size of partitions? (resolved)  (Read 3305 times)

0 Members and 1 Guest are viewing this topic.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1428
  • Karma: 118
  • Gender: Male
    • View Profile
    • Awards
Re: How to change the size of partitions? (resolved)
« Reply #30 on: January 16, 2013, 10:14:05 pm »
Well, if the OP does want to fix it later.. :D

Quote
What do you reckon ?

I do not have grub-gfxpayload-lists on mine (LMDE). that might be peppermint specific.
Here is mine for reference:
Quote
dpkg -l | grep grub
ii  grub-common                                  1.99-23                           i386         GRand Unified Bootloader (common files)
ii  grub-pc                                      1.99-23                           i386         GRand Unified Bootloader, version 2 (PC/BIOS version)
ii  grub-pc-bin                                  1.99-23                           i386         GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii  grub2-common                                 1.99-23                           i386         GRand Unified Bootloader (common files for version 2)
ii  grub2-theme-mint                             1.0.9                             all          Grub2 theme for Linux Mint

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13232
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: How to change the size of partitions? (resolved)
« Reply #31 on: January 16, 2013, 11:04:34 pm »
OK, we can leave it out of the list .. I'm guessing mint must get at least some of these from the mint specific repos rather than the Ubuntu ones because grub-pc (from ubuntu) would pull in grub-gfxpayload-lists as a dependency.

So this looks about right to me then:
Code: [Select]
sudo apt-get install --reinstall grub-common grub-pc grub-pc-bin grub2-common os-prober
then run:
Code: [Select]
sudo update-grub
and post the output .. preferably before rebooting.

Or it can wait .. up to Tramlink :)
(I suppose there's something to be said for "if it aint broken...", but this time I think it should probably be fixed sooner rather than later)
.
« Last Edit: January 16, 2013, 11:17:30 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 678
  • Karma: 12
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Re: How to change the size of partitions? (resolved)
« Reply #32 on: January 17, 2013, 10:05:07 am »
userone@office2 ~ $ sudo update-grub
[sudo] password for userone:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-23-generic
Found initrd image: /boot/initrd.img-3.2.0-23-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Home Edition on /dev/sda1
done
userone@office2 ~ $

AS it was correct I rebooted and it's all working fine.

As a matter of interest I have not had a Kernel update since I installed the system.

I seem to remember that mint do not update the Kernel as a matter of course.

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 678
  • Karma: 12
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Re: How to change the size of partitions? (resolved)
« Reply #33 on: January 21, 2013, 11:59:30 am »
I seem to have the same issue with my peppermint 3 lap top with Win 98 I use for playing old DOS games.

I seem to have 2 Linux partitions when there should only be one.  Can you tell me which one has peppermint 3 on and then I can delete the other and resize the P3 partition.

Thanks

Quote
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda6 during installation
UUID=504872ea-28b3-4229-851b-220889795ac4 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda7 during installation
UUID=497402cf-57fa-4b28-b7ac-423f0000d59b none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

Quote
user3@cjhm-laptop ~ $ sudo fdisk -l

Disk /dev/sda: 20.0 GB, 20003880960 bytes
240 heads, 63 sectors/track, 2584 cylinders, total 39070080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00004236

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63     4188239     2094088+   6  FAT16
/dev/sda2        14923774    39069695    12072961    f  W95 Ext'd (LBA)
/dev/sda3         4188240    14923439     5367600    b  W95 FAT32
/dev/sda5        14923776    29233962     7155093+  83  Linux
/dev/sda6        29235200    38023167     4393984   83  Linux
/dev/sda7        38025216    39069695      522240   82  Linux swap / Solaris

Partition table entries are not in disk order
user3@cjhm-laptop ~ $
Quote
user3@cjhm-laptop ~ $ sudo blkid
[sudo] password for user3:
/dev/sda1: SEC_TYPE="msdos" LABEL="CLIVE1" UUID="2940-13F0" TYPE="vfat"
/dev/sda3: UUID="18F8-A44E" TYPE="vfat"
/dev/sda5: UUID="05dbeb47-b9d4-4289-ac98-f40be09cf9ee" TYPE="ext4"
/dev/sda6: UUID="504872ea-28b3-4229-851b-220889795ac4" TYPE="ext4"
/dev/sda7: UUID="497402cf-57fa-4b28-b7ac-423f0000d59b" TYPE="swap"
user3@cjhm-laptop ~ $

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13232
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: How to change the size of partitions? (resolved)
« Reply #34 on: January 21, 2013, 12:36:19 pm »
If you were booted into Peppermint when you ran the above commands (in other words if that fstab file is from Peppermint).. then:-

Peppermint = /dev/sda6
swap = /dev/sda7
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Tramlink

  • Hero Member
  • *****
  • Posts: 678
  • Karma: 12
  • Gender: Male
  • Is the mist clearing
    • View Profile
    • Awards
Re: How to change the size of partitions? (resolved)
« Reply #35 on: January 22, 2013, 06:33:25 pm »
All worked like a dream.

Thanks.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal